Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The scullySystem plugin "routeRenderer" has thrown the below error, while trying to render route "unknown". Scully will exit #1676

Open
maksym-caseactive opened this issue Apr 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@maksym-caseactive
Copy link

🐞 Bug report

Description

After we try to create the index.html files with Scully, we see an error and then Scully exits. Error below:
The scullySystem plugin "routeRenderer" has thrown the below error,
while trying to render route "unknown".
Scully will exit

Error: Protocol error: Connection closed. Most likely the page has been closed.

🔬 Minimal Reproduction

First we run the build command for our project and then run the Scully command below:
npm run scully --showGuessError --showBrowser --pluginsError=false --logSeverity=normal --serverTimeout=900000000
after which the index.html files for some routes are rendered and after a while the error appears.

💻Your Environment

Google Chrome 123.0.6312.105
Angular CLI: 17.3.3
Node: 18.18.2
Package Manager: npm 10.5.1
OS: linux x64 | Amazon Linux 2023.3.20240312

Angular Version:




     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    

Angular CLI: 15.2.10
Node: 18.20.1
Package Manager: npm 10.5.0
OS: linux x64

Angular: 15.2.10
... animations, cli, common, compiler, compiler-cli, core
... elements, forms, language-service, localize
... platform-browser, platform-browser-dynamic, platform-server
... router, service-worker

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1502.10
@angular-devkit/build-angular   15.2.10
@angular-devkit/core            15.2.10
@angular-devkit/schematics      15.2.10
@angular/cdk                    15.2.9
@angular/flex-layout            15.0.0-beta.42
@angular/material               15.2.9
@schematics/angular             15.2.10
ng-packagr                      15.2.2
rxjs                            7.8.1
typescript                      4.9.5

Scully Version:




"@scullyio/init": "^2.1.41",
"@scullyio/ng-lib": "^2.1.41",
"@scullyio/scully": "^2.1.41",
"@scullyio/scully-plugin-playwright": "^2.1.0",
"@scullyio/scully-plugin-puppeteer": "^2.1.41",
"@gammastream/scully-plugin-sitemap": "^1.0.7",
"scully-plugin-amp-css": "^2.0.0",

🔥 Exception or Error




The scullySystem plugin "routeRenderer" has thrown the below error, 
while trying to render route "unknown". 
Scully will exit

Error: Protocol error: Connection closed. Most likely the page has been closed.
@maksym-caseactive maksym-caseactive added the bug Something isn't working label Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant