我已经有了package.json文件并尝试使用此命令安装babel
npm install babel-cli@6.18.0 --save-dev
但是我收到了这个错误
npm WARN react-essential@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Error: EPERM: operation not permitted, rename 'C:\Users\eujso\Desktop\Ex_Files_React_EssT_Upd\Exercise Files\Ch02\02_01\start\node_modules\.staging\fsevents-7a36a307\node_modules\wrappy' -> 'C:\Users\eujso\Desktop\Ex_Files_React_EssT_Upd\Exercise Files\Ch02\02_01\start\node_modules\.staging\wrappy-de23cf94'
npm ERR! Maximum call stack size exceeded
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\eujso\AppData\Roaming\npm-cache\_logs\2018-03-27T09_35_24_484Z-debug.log
我不知道如何处理这个
答案 0 :(得分:0)
我的malwarebytes是其中一个原因,其他人因为反病毒而无法安装npm,这通常发生在windows os