You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into an issue where I can't get Scully to run in my project.
It looks like it can't connect to Puppeteer, though that's a wild guess.
A repro can be found in this repo. In order to make sure it's not something on my local machine I've added a Docker configuration that shows the issue.
🔬 Minimal Reproduction
In order to get this error:
git clone https://github.com/beeman/scully-starter
cd scully-starter
yarn docker:build
.....DOCKER BUILD OUTPUT HERE.....
$ scully
The option outFolder isn't configures, we are using "/workspace/dist/static/ by default now"
Cleaned up /workspace/dist/static/ folder.
☺ new Angular build imported
started servers in background
Invalid content-type.
Expected application/json but received text/html; charset=UTF-8
Invalid content-type.
Expected application/json but received text/html; charset=UTF-8
Invalid content-type.
Expected application/json but received text/html; charset=UTF-8
Invalid content-type.
Expected application/json but received text/html; charset=UTF-8
Invalid content-type.
Expected application/json but received text/html; charset=UTF-8
Invalid content-type.
Expected application/json but received text/html; charset=UTF-8
Invalid content-type.
Expected application/json but received text/html; charset=UTF-8
Invalid content-type.
Expected application/json but received text/html; charset=UTF-8
Invalid content-type.
Expected application/json but received text/html; charset=UTF-8
Could not connect to server
I had a similar issue (reported in #31), but the root cause turned out to be a lack of support for catch all routes (mine went to a PageNotFoundComponent).
Since you don't have any catch all routes, it's likely something to do with how you have your root component and child component configured with the '' path.
🐞 Bug report
Description
I'm running into an issue where I can't get Scully to run in my project.
It looks like it can't connect to Puppeteer, though that's a wild guess.
A repro can be found in this repo. In order to make sure it's not something on my local machine I've added a Docker configuration that shows the issue.
🔬 Minimal Reproduction
In order to get this error:
💻Your Environment
Angular Version:
Scully Version:
🔥 Exception or Error
The text was updated successfully, but these errors were encountered: