Under other people's code above github, execute cnpm instal installation dependency error report

I have previously tried to create a project through create-react-app, how to do nothing, delete node_modules, and then execute cnpm install also reported this error, I don"t know why and how to solve it. Thank you ~


Isn't there something wrong with

above?
clipboard.png

comment out first, and then see if you can succeed, and then try other versions of this package. There may be something wrong with the latest version.

the worst thing to do is to see that your registry, may have used an internal registry, to cause the installation to fail.


cnpm pit, it is not recommended to use cnpm, to delete your node module file directory. Use npm


use npm . If there is a problem with the network, just change respository to the image of taobao.

Menu