lhqhello
2017-09-13 19:32create-react-app my-app 报错
使用create-react-app my-app 创建一个应用 报错如下 请求解答一下谢谢!!!
D:\React>create-react-app my-app
Creating a new React app in D:\React\my-app.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...
uglifyjs-webpack-plugin@0.4.6 postinstall D:\React\my-app\node_modules\uglifyjs-webpack-plugin
node lib/post_install.js
npm ERR! path D:\React\my-app\node_modules\fsevents\node_modules
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall scandir
npm ERR! Error: EPERM: operation not permitted, scandir 'D:\React\my-app\node_modules\fsevents\node_modules'
npm ERR! { Error: EPERM: operation not permitted, scandir 'D:\React\my-app\node_modules\fsevents\node_modules'
npm ERR! stack: 'Error: EPERM: operation not permitted, scandir \'D:\React\my-app\node_modules\fsevents\node_modules\'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'scandir',
npm ERR! path: 'D:\React\my-app\node_modules\fsevents\node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\L-HQ\AppData\Roaming\npm-cache_logs\2017-09-13T19_15_49_573Z-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 my-app / from D:\React
Done.
- 点赞
- 回答
- 收藏
- 复制链接分享
1条回答
为你推荐
- 运行dev_appserver.py时,如何强制gcloud cli不监视某些目录?
- reactjs
- 1个回答
- 为什么使用react-admin获得404的API端点?
- reactjs
- cors
- api
- 2个回答
- 如何安排API调用和数据库更新
- database
- php
- 1个回答
- laravel和反应按钮设置
- reactjs
- laravel
- pusher
- php
- 1个回答
- Meteor:Http Call在Http响应后返回时返回Undefined
- javascript
- php
- meteor
- 1个回答