-
Notifications
You must be signed in to change notification settings - Fork 14
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
improve 404 error message for "grunt generate-phet-io-api-files" #928
Comments
According to the puppeteer docs, the additional info being requested comes from Right now, the error message we're seeing only comes from When I run When running the latest version on my machine, chk@voyager:~/phetsims/energy-forms-and-changes$ grunt generate-phet-io-api-files
Running "generate-phet-io-api-files" task
Error from sim: Failed to load resource: the server responded with a status of 404 (Not Found):
http://localhost:8080/dot/js/Vector7.js |
|
I think we can live without |
Sounds good. Marking |
@zepumph and @samreid corrected me in phetsims/perennial#170 - the grunt task relies on chipper's puppeteer, not perennial's. |
This looks great. Thanks @chrisklus. Closing. |
If a "404 (Not Found)" error occurs during API harvest,
?phetioPrintPhetioFiles
provides a nice console error message with plenty of detail to immediately determine the problem:With
grunt generate-phet-io-api-files
, you get a vague 404 error with no details:The same error info is presumably available to grunt, so I'll create an issue to "enhance" the error message. Please add error details to
grunt generate-phet-io-api-files
.The text was updated successfully, but these errors were encountered: