Closed karlnicholas closed 5 years ago
Was there any action required for this issue? Leave a comment if there is.
Yes, bottom line is that doing the pwa starter kit doesn't work out of the box. The above commands must be executed after creating the app before it will properly run.
I'm not sure I understand why you need to remove node_modules on an initial install.
If you git clone
the repo there's no node_modules prior to running npm i
I just ran an install based on the directions found at https://pwa-starter-kit.polymer-project.org/setup, and they work without issue.
Maybe I'm missing something. So, please reply back with details if need be.
@keanulee Solved! Thanks for your help!
The final solution was found after reading your reply and did more googling accordingly here, and I believe it will be very helpful if these steps below are included somewhere in the PWA Starter Kit's "Get Started" website for anyone who use the kit to build their app while continuing to pull in new changes from the kit.
Essentially, here are the steps to npm install locally --- without ending up with a different package-lock.json --- anytime pwa-starter-kit's master branch has its deps updated:
rm -rf node_modules/
to remove the entire node_modules folder, reason quoted from the link above.Originally posted by @freshgrapes in https://github.com/Polymer/pwa-starter-kit/issues/256#issuecomment-434559958