Skip to content
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 in running Amp-pwa sample #200

Open
storytellerr opened this issue Jan 24, 2019 · 5 comments
Open

Error in running Amp-pwa sample #200

storytellerr opened this issue Jan 24, 2019 · 5 comments

Comments

@storytellerr
Copy link

Could not find a required file.
Name: index.html
Searched in: /home/user_name/Desktop/web/samples/amp-pwa/public

npm ERR! Linux 4.15.0-43-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: react-scripts start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'react-scripts start'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the amp-pwa package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! react-scripts start
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs amp-pwa
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls amp-pwa
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/user_name/Desktop/web/samples/amp-pwa/npm-debug.log

@mtngoatgit
Copy link

I found you can solve this by creating a /public folder and moving the index.html from the root into that newly created folder. But then you'll get a new series of errors because this sample is relying on older packages.

@maddoxnelson
Copy link

Bump, I am having this same error.

@mtngoatgit
Copy link

@maddoxnelson Not sure if this helps, but after trying a number of AMP/React integrations, the one that is working best for me is https://github.com/zeit/next.js/tree/canary/examples/with-amp.

@pPanda-beta
Copy link

Hi
Having the same issue while tried to sping up with npm start
Any updates on this issue?

@Platane
Copy link

Platane commented Nov 26, 2019

The original repository have the dependencies correctly pin and still work
https://github.com/choumx/amp-pwa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants