Questions tagged [angular-scully]

19 questions
2
votes
3 answers

Running Scully in an Angular 15 Project?

I'm upgrading a Angular 12 project to an Angular 15 project and attempting to run scully on it again. Before this worked fine. ng add @scullyio/init --skip-confirmation --defaults ng build npx scully -- Now it produces this error: …
Ole
  • 41,793
  • 59
  • 191
  • 359
2
votes
3 answers

Scully prerender - Cannot GET dynamic route

I'm using scully for prerendering bunch of routes, and I skip routes for /board/:boardId: routes: { "/board": { type: 'ignored' } }, extraRoutes: ["/", "/dashboard", "/uses" ] The /board…
Sanjay Verma
  • 1,390
  • 22
  • 40
2
votes
0 answers

Angular PreRender hide parts

I am using scully as pre-render for Angular web site. Here is the scully config present at the root of the site: import { ScullyConfig } from '@scullyio/scully'; /** this loads the default render plugin, remove when switching to something else.…
2
votes
0 answers

Scully can´t find empty route

Scully can´t find my app´s routes, is there something wrong with my routes? I am on scully version 0.0.19 app.routing.ts looks like this: export const routes: Routes = [ { path: '', loadChildren: () =>…
1
vote
0 answers

Rendering dynamic routes in AnalogJS without using a prefix or a folder?

In this question we were able to render dynamic routes with 2 or more parameters, but they have to be either prefixed or contained in a folder. I'd like to be able to render a route like this, where :category would be the first segment of the path,…
Ole
  • 41,793
  • 59
  • 191
  • 359
1
vote
1 answer

Scully.io Prerenders only ROOT route as static file but does not prerender ANY other routes

We have set up of entire Angular 14.2.12 application in Production working just fine. I wanted to generate some of static pages using Scully, so I added Scully by following steps ng add @scullyio/init This installed scully in my project Then, I…
user2030613
  • 93
  • 1
  • 9
1
vote
3 answers

Issue with Angular pre-rendering with universal & Scully for SEO

I recently developed and published my first large angular project (I am still relatively new to angular). For better SEO I decided to look into static prerendering using both Scully and Angular Universal, both have one critical issue, so google…
1
vote
1 answer

Type 'Subscription' is missing the following properties from type 'Subscription': _parentOrParents, _subscriptions

I am getting the above mentioned error with my angular ts file. but not able to understand to fix. any one help me ts file : import { Component, OnInit, OnDestroy } from '@angular/core'; import { ScullyRoute, ScullyRoutesService } from…
user2024080
  • 1
  • 14
  • 56
  • 96
1
vote
1 answer

Putting extraRoutes in separate file for multiple configuration in Scully results in importerror

I have multiple scully configurations: scully.en.config.ts scully.de.config.ts The scully config has a extraRoutes fields which is same for all the configs. I want to put the extraRoutes in a new file extraRoutes.ts. export const extraRoutes = [ …
desertSniper87
  • 795
  • 2
  • 13
  • 25
1
vote
1 answer

How to prevent Angular from loading content in runtime when it was already prerendered by Scully?

I have a service that fetches data from headless CMS Cockpit in my Angular app. I am using Scully to prerender my pages. It works great in doing the prerender, it fetches content build time and creates a static page, however when opening page,…
Blind Despair
  • 3,190
  • 2
  • 20
  • 31
0
votes
0 answers

Particle JS is not working with SSR (Server Side Rendering) Angular and Scully

In my angular Application, I have added Scully for server side rendering. I have added particle JS to add animated particles as background of my component. When I run scully npx scully, It creates static index of all routes but when come to…
0
votes
1 answer

Scully (Puppeteer) can't find browser. But the neigbhor project with the same configs working well

When I copy some Scully boilerplate project, I'm starting to change the name of project, and so on. I don't copy node-modules to make copying of project a bit lighter. But after installation of node_modules, Scully refuse to work, with…
Yuriy Gyerts
  • 1,464
  • 18
  • 30
0
votes
0 answers

Set ScullyConfig routes from HTTP request

I'm trying to config Scully on my Angular app, and get it the list of routes, But I want to fetch the list of routes from the server. export const config: ScullyConfig = { projectRoot: "./src", projectName: "marketing-site-web", outDir:…
Eli Porush
  • 1,339
  • 1
  • 7
  • 18
0
votes
2 answers

Can't deploy Scully (Angular) app on AWS: 502 Bad Gateway

I'm trying to deploy Angular app with Scully on AWS but have just 502 error. When I run just npm run start app is loading and content is, but there is no scully static seo content - I just got this I tried to…
0
votes
2 answers

No scully configuration file found scully.undefined.config.ts Path "/scully.undefined.config.ts" does not exist

When I created my Angular app and tried to add Scully for SEO static it just silently failed without creating: scully.my-blog{{your blog name here}}.config.ts scully folder in the root of the app with tsconfig.json and plugins folder with plugin.ts…
Tatyana Molchanova
  • 1,305
  • 5
  • 12
  • 23
1
2