Everytime I try to create an (or twitter) in local and I receive this error in the console :
Powered by AMP ⚡ HTML – Version 1467308799816
Uncaught Error: Parent origin mismatch: null, file://
I copy pasted the code found at ampbyexample and all I've got is this error with an empty page.
How do I fix this so the page loads up?
Did you just try to drag and drop the HTML file into the browser? I did that and got the same error but then when I put it into my MAMP htdocs folder, it loaded perfectly fine with no errors from localhost:<Apache port>/<path to file>
. Hope this helps.