npm install ERR! code E400 solutions

When executing npm install, it will return a 400 or 404 error, as follows

Solution:

1. Check the npm configuration file for errors:

Execute npm config edit to view configuration file information

carried out 

npm rebuild node-sass

npm update

npm install -g npm upgrade npm

npm -v

2. Reinstall

nodejs

Guess you like

Origin blog.csdn.net/qq_30264689/article/details/102763737