用npm安装插件时报错: [email protected]^1.0.0 (node_modules\chokidar\node_modules\fsevents)

在做前端项目的时候执行命令:

npm install --save-dev [email protected] --registry=https://registry.npm.taobao.org

出现错误提示:

fsevents不在package.json里,但是仍然安装了,是因为你的系统是Windows系统,fsevents是苹果系统的可选依赖,你的项目有可能是团队项目,别人在他的mac上安装了fsevents相关依赖库,所以到这边你也就安装到你的windows上边了。

你可以检查你的package.json 文件中是不是有fsevents相关依赖,删除即好! 
如果没有,删除node_modules文件夹,重新安装各项依赖就好了

fsevent是mac系统的,在win或者Linux下使用了,所以会有警告,忽略即可。

fsevent的作用是能够检测文件目录的修改,可以记录恶意软件的非法操作,获取恶意软件的完整路径,删除和修改日期。

原文地址:https://www.cnblogs.com/pongx/p/11824449.html

时间: 2024-07-30 05:22:28

用npm安装插件时报错: [email protected]^1.0.0 (node_modules\chokidar\node_modules\fsevents)的相关文章

转:npm install 时总是报[email protected]安装失败

该文章转自:http://www.cnblogs.com/alice626/p/6206722.html 在npm install时总是报如下错误, 尝试单独安装:npm install [email protected] 还是报错 Please report this full log at https://github.com/Medium/phantomjs npm ERR! Darwin 15.0.0 npm ERR! argv "/usr/local/bin/node" &q

npm install 报错 [email protected] install: `node install.js`

$ npm install > [email protected] install F:\Study\Vue\VueStudy\03\VueTest\node_module s\phantomjs-prebuilt> node install.js 'node' ????????????????????????е?????????????????npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_mod

npm安装插件提示

现在使用node的人群越来越多,咱也不能落后,得跟紧脚步才行. 今天使用 npm 安装插件的时候,出现以下提示,而且,安装程序看着好像终止了.而且,看到一个exit单词,就认为说安装出错了. $ npm install browser-sync --save-dev> [email protected] install /usr/local/lib/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/no

centos65安装pg935时报错: jade: Command not found

centos65安装pg935时报错:  jade: Command not found 1 [[email protected] postgresql-9.3.5]# ./configure --prefix=/opt/pgsql9.3.5 --with-pgport=1949 --with-perl --with-tcl --with-python --with-openssl --with-pam --without-ldap --with-libxml --with-libxslt --

electron-vue在npm run build时报错 ? cannot execute cause=fork/exec C:\Users\801\AppData\Local\electron-builder\Cache\winCodeSign\winCodeSign-2.5.0\rcedit-ia32.exe: Access is denied.

问题描述 在electron-vue执行npm run build时报错,错误如下: ? cannot execute cause=fork/exec C:\Users\801\AppData\Local\electron-builder\Cache\winCodeSign\winCodeSign-2.5.0\rcedit-ia32.exe: Access is denied.command='C:\Users\801\AppData\Local\electron-builder\Cache\w

安装cx_Oracle时报错:error: command 'gcc' failed with exit status 1

1.安装cx_Oracle 1)下载cx_Oracle,https://pypi.python.org/pypi 2)解压压缩包 3)执行python setup.py install 执行后报错:error: command 'gcc' failed with exit status 1 排查: 1)检查是否安装oracle客户端软件 2)查看当前环境变量中是否配置oracle的相关变量,如echo $ORACLE_HOME 3)如果没有配置需要将oracle环境变量配置到当前用户.bash_

linux问题-easy_install安装bpython时报错

如题报如下错误:(环境为CentOS7) In file included from greenlet.c:5:0: greenlet.h:8:20: fatal error: Python.h: No such file or directory #include <Python.h> ^ compilation terminated. error: Setup script exited with error: command 'gcc' failed with exit status 1

三星笔记本安装系统时报错:image failed to verify with * access denied* press any key to continue.

安装系统从光盘启动报错: 出现黑屏,并且有一个提示框image failed to verify with *access denied*press any key to continue 原因:三星笔记本对系统有降级保护,在将win8改装为win7是,需要设置bios. 1.开机按F2 进入bios,找到Boot-->secure boot-->改为:disabled---->OS Mode Selection改为:CSM OS. 2.在 advanced-->fast bios

CentOS6.4安装readline时报错:/usr/bin/ld : cannot find -lncurses

解决方法: 安装ncurses-devel,输入命令: #yum install ncurses-devel ###安装完成后重新安装readline(#pip install readline)即可### 参考资料: 1.http://bbs.chinaunix.net/thread-2262638-1-1.html CentOS6.4安装readline时报错:/usr/bin/ld : cannot find -lncurses,布布扣,bubuko.com