-
Notifications
You must be signed in to change notification settings - Fork 26.1k
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
Error on amphtml-validator #9164
Comments
This is an upstream issue see ampproject/amphtml#25188 for more info |
Yes, i forgot to mention the issue. |
No, this bug affects all versions of |
All stable releases, you mean? |
I've been able to fix the bug locally by just removing this snippet on line 279: node_modules/amphtml-validator/index.js error.category = this.sandbox.amp.validator.categorizeError(internalError); Which is what that pre-release does |
A new version of |
Update: |
This has been resolved upstream |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Bug report
Describe the bug
Serving an amp-enabled page returns the following error:
TypeError: this.sandbox.amp.validator.categorizeError is not a function
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Expected behavior
Expected to see working page
System information
Additional context
There is a release of amphtml-validator that apparently fix the problem, maybe the solution is to update the amphtml-validator version in package.json
Related issue on amphtml repo
The text was updated successfully, but these errors were encountered: