npm install 失败 operation not permitted, scandir 'E:\vue-test\node_modules\fsevents\node_modules'
来源:互联网 发布:nothing 软件 编辑:程序博客网 时间:2024/05/24 05:34
npm install 失败 operation not permitted, scandir ‘E:\vue-test\node_modules\fsevents\node_modules’
npm install node-sass –save-dev 失败报错如下
npm ERR! path E:\vue-test\node_modules\fsevents\node_modulesnpm ERR! code EPERMnpm ERR! errno -4048npm ERR! syscall scandirnpm ERR! Error: EPERM: operation not permitted, scandir 'E:\vue-test\node_modules\fsevents\node_modules'npm ERR! at Error (native)npm ERR! { Error: EPERM: operation not permitted, scandir 'E:\vue-test\node_modules\fsevents\node_modules'npm ERR! at Error (native)npm ERR! stack: 'Error: EPERM: operation not permitted, scandir \'E:\\vue-test\\node_modules\\fsevents\\node_modules\'\n at Error (native)',npm ERR! errno: -4048,npm ERR! code: 'EPERM',npm ERR! syscall: 'scandir',npm ERR! path: 'E:\\vue-test\\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\Administrator\AppData\Roaming\npm-cache\_logs\2017-12-13T02_13_41_250Z-debug.log
解决方法:
直接在目录下执行 npm cache clean –force 清理一下缓存,然后再次 install 就可以了
Binary is finenpm WARN element-ui@2.0.7 requires a peer of vue@^2.5.2 but none is installed. You must install peer dependencies yourself.npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})+ node-sass@4.7.2added 115 packages and updated 1 package in 199.217snpm WARN element-ui@2.0.7 requires a peer of vue@^2.5.2 but none is installed. You must install peer dependencies yourself.npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})+ sass-loader@6.0.6added 127 packages in 32.978s
安装成功
阅读全文
0 0
- npm install 失败 operation not permitted, scandir 'E:\vue-test\node_modules\fsevents\node_modules'
- npm ERR! Error: EPERM: operation not permitted, scandir 'D:\
- node_modules
- npm install 安装软件,出现 operation not permitted, mkdir
- npm install 安装软件,出现 operation not permitted, mkdir 解决办法
- 使用npm install报错-4048 operation not permitted解决
- 使用npm install报错-4048 operation not permitted问题
- nodeJs 安装 npm node_modules
- npm: no such file or directory, scandir '.../node_modules/node-sass/vendor'
- npm: 2.15.1 should be >= 3.0.0 npm install express operation not permitted
- npm install 报错(npm ERR! errno -4048,Error: EPERM: operation not permitted,)解决方法
- pip install operation not permitted 解决办法
- Mac os 使用npm 全局安装 node_modules
- [npm]为当前账户添加node_modules权限
- "npm ERR! Error: EPERM: operation not permitted"问题解决
- vue 报EACCES: permission denied, access '/usr/local/lib/node_modules/vue-cli/node_modules/abbrev'错误
- Missing write access to /usr/local/lib/node_modules npm ERR! path /usr/local/lib/node_modules
- osx gem install Operation not permitted - /usr/bin/xxx
- STM32中使用静态“字符串的方式”
- SpringBoot入门案例
- idea中出现中文乱码时,在jsp最上面加上
- 一体机安装win8系统后分区全部合并到一个盘其它分区的数据怎么寻回
- Grafana快速搭建过程
- npm install 失败 operation not permitted, scandir 'E:\vue-test\node_modules\fsevents\node_modules'
- Android编程获取GPS速度
- 【echarts】绘制带有点击事件的图表
- 学习MySQL复杂查询——day01
- Java Web Start实例
- Html.fromHtml(String)已经过时的问题
- Scrapy学习入门
- Unable to get provider android.support.v4.content.FileProvider: java.lang.ClassNotFoundException: Di
- 图像通道变换python-opencv