我正在尝试使用create-react-app创建一个新的react项目,但是每次由于此错误而失败。......
我正在使用npm
版的6.3.0
和node
版的10.8.0
我不知道该怎么办............
在C:\Users\Demonblade\Desktop\test
中创建一个新的React应用。
安装软件包。这可能需要几分钟。正在安装react,react-dom和react-script ...
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! <https://npm.community>
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Demonblade\AppData\Roaming\npm-cache\_logs\2018-08-09T15_27_48_357Z-debug.log
Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-scripts has failed.
Deleting generated file... node_modules
Deleting generated file... package.json
Deleting test / from C:\Users\Demonblade\Desktop
Done.
答案 0 :(得分:0)