npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents

在进行安装vue/cli的时候,出现这个警告:

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^1.2.7 (node_modules\@vue\cli\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

经查询,了解到,

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

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

原文地址:https://www.cnblogs.com/renranwj/p/11791030.html

时间: 2024-11-10 12:43:30

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents的相关文章

npm WARN install Refusing to install vue-router as a dependency of itself

今天在使用npm安装插件的时候提示如下错误: npm WARN install Refusing to install vue-router as a dependency of itself npm 阻止安装插件. 将npm的镜像改成taobao的镜像后测试还是不行,修改npm镜像: sudo npm install -g cnpm --registry=https://registry.npm.taobao.org 后来发现是因为package.json里面的name名字和插件的名字同名,导

npm WARN uninstall not installed in /Users/hrt0kmt/node_modules: "xxx"

You may meet this error on home directory. % npm uninstall appium npm WARN uninstall not installed in /Users/hrt0kmt/node_modules: "appium" You must uninstall npm package on directory which contains same node_modules. % cd /Users/hrt0kmt/.nodebr

安装vue命令行工具(CLI),npm WARN

安装vue-cli的时候,npm给出警告: npm WARN deprecated [email protected]: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0 解决方案: 降低npm版本 sudo npm install -g [email protected

npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules

npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules 解决方法: 修改npm包所安装目录的权限:sudo chown -R $USER /usr/local   然后输入密码就可以了 原文地址:https://www.cnblogs.com/jimmy1293/p/10822802.html

npm WARN [email protected] requires a peer of [email protected]>=0.52.4 but none is installed. You must inst

问题: npm WARN [email protected] requires a peer of [email protected]>=0.52.4 but none is installed. You must install peer dependencies yourself. 解决办法: 1.在package.json文件中添加如下代码: "stylus-loader": "^3.0.2", "stylus": "0.5

npm WARN unmet dependency问题的解决方法

remove node_modules $ rm -rf node_modules/ run $ npm cache clean 详见这里: http://stackoverflow.com/questions/20764881/why-does-npm-install-say-i-have-unmet-dependencies

npm install 报错(npm ERR! errno -4048,Error: EPERM: operation not permitted,)解决方法

npm ERR! path E:\SouthernPowerGridProject\web_project\AutoOPS\autoops\node_modules\fsevents\node_modules\dashdash\node_modulesnpm ERR! code EPERMnpm ERR! errno -4048npm ERR! syscall scandirnpm ERR! Error: EPERM: operation not permitted, scandir 'E:\S

vue 项目启动时npm run dev 报错

PS D:\VS-workpase\maishou-c> npm install [email protected] > [email protected] install D:\VS-workpase\maishou-c\node_modules\node-sass> node scripts/install.js Downloading binary from https://github.com/sass/node-sass/releases/download/v4.9.0/win

vue 项目 npm install 报错解决

node-sass 安装报错解决办法 2017年04月15日 14:34:25 阅读数:20189 E:\kibana>npm install node-sass > [email protected] install E:\kibana\node_modules\node-sass > node scripts/install.js Cannot download "https://github.com/sass/node-sass/releases/download/v3.