I have cloned this project from github alt-tutorial
1
-
1Please post the relevant code in the question directly. See How to create a Minimal, Complete, and Verifiable example - Also see Why not to upload Images of Code/Errors when asking a Question and for good measure What Questions Are On-Topic and which ones Are not On-Topic– NopeApr 24, 2018 at 9:06
Add a comment
|
2 Answers
Please use start
if you are using windows. open
is a unix command so won't work in windows machines. for example if you have a command like below in a windows env:
"scripts": {
"start": "webpack && open index.html"
},
Use following instead:
"scripts": {
"start": "webpack && start index.html"
},
Can you clear the npm
cache using following command and try again.
npm cache clean
-
Showing ERR! npm ERR! As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify' instead. Apr 24, 2018 at 9:12
-