Reputation: 39
Npm install is not completed due to some errors.
I;m expecting the npm install successfully completed and ran this local project.
Upvotes: 3
Views: 337
Reputation: 35
npm cache clean
in your terminal and please check the version of the node and angular in your machine and fix the version which matches your project then again install the npm npm i
Upvotes: -1
Reputation: 1203
According to your error message, you need python installed. You can install that from here. https://www.python.org/downloads/
Install python 2.7.1.
If this doesnt help, than post your package.json and your node version and the operating system where you run npm install.
And in that case, post again the error after you installed python.
also run
npm cache verify
rm -rf node_modules
rm package-lock.json // or yarn.lock if you use yarn
npm i
last will clean up your installation.
After installing python, in a new terminal. (important you open a new terminal)
python --version
Upvotes: 3