Next.js: `with-amp`example. Internal server error on browser refresh.

Created on 2 Apr 2017  路  4Comments  路  Source: vercel/next.js

Hi,
with-amp example pop an Internal server Erroron browser refresh, in dev mod.
React Developper tools do not mount.

Terminal:
Invariant Violation: injectDOMPropertyConfig(...): You're trying to inject DOM property 'amp' which has already been injected. You may be accidentally injecting the same DOM property config twice, or you may be injecting two configs that have conflicting property names.

Most helpful comment

Interesting. I can take a look as soon as I have some time

All 4 comments

I tried this example and figured out if I remove the injectDOMPropertyConfig amp is still functioning. Don't really know why.

@impronunciable any help on this?

Interesting. I can take a look as soon as I have some time

@vdesbarres thanks for the report and sorry for the so late answer, I just submitted a PR

Was this page helpful?
0 / 5 - 0 ratings