We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We recently received the following issues detected by Google Search Console
1.) An AMP component 'amp-install-serviceworker' is using an invalid version. Use a valid version of this AMP component.
2.) An AMP component 'amp-form' is using an invalid version. Use a valid version of this AMP component.
Upon checking, we have the following Console errors in our AMP Pages:
Failed to load resource: the server responded with a status of 404 () https://cdn.ampproject.org/v0/amp-form-undefined.mjs
Failed to load resource: the server responded with a status of 404 () https://cdn.ampproject.org/v0/amp-install-serviceworker-undefined.mjs
The "undefined" is supposed to be a version.
Upon further digging, there are recent changes to the @ampproject/toolbox-optimizer package that might be related to the issue.
The text was updated successfully, but these errors were encountered:
@tomoyukikashiro , pinning the @ampproject/toolbox-optimizer version to 2.3.0 seems to fix the issue for us.
PR: #177
PS: I tried 2.8.6 initially which was released few hours ago, but we got the following error/notice in the backend with that version:
AMP Optimizer AutoExtensionImporter ERROR Missing validation rules, cannot auto import extensions
so it seems 2.3.0 is the best fit for now. There seems to be a need to update how html2amp use @ampproject/toolbox-optimizer.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
We recently received the following issues detected by Google Search Console
1.) An AMP component 'amp-install-serviceworker' is using an invalid version. Use a valid version of this AMP component.
2.) An AMP component 'amp-form' is using an invalid version. Use a valid version of this AMP component.
Upon checking, we have the following Console errors in our AMP Pages:
Failed to load resource: the server responded with a status of 404 ()
https://cdn.ampproject.org/v0/amp-form-undefined.mjs
Failed to load resource: the server responded with a status of 404 ()
https://cdn.ampproject.org/v0/amp-install-serviceworker-undefined.mjs
The "undefined" is supposed to be a version.
Upon further digging, there are recent changes to the @ampproject/toolbox-optimizer package that might be related to the issue.
The text was updated successfully, but these errors were encountered: