原文:用npm安装插件时报错: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents)

在做前端项目的时候执行命令: npm install save dev file loader . . registry https: registry.npm.taobao.org 出现错误提示: fsevents不在package.json里,但是仍然安装了,是因为你的系统是Windows系统,fsevents是苹果系统的可选依赖,你的项目有可能是团队项目,别人在他的mac上安装了fseven ...

2019-11-09 10:28 0 1646 推荐指数:

查看详情

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules\fsevents):

最近在学习使用npm,但是在使用 npm install 命令安装依赖的时候出现了这个警告翻译一下就是可选的跳过可选的依赖:fsevents@2.1.2,其实这个包是可以选择性安装的被安装的原因就是:这个包是mac上可以选择的依赖,但是你使用了window的电脑,也安装了,可以看看 ...

Wed Mar 10 22:13:00 CST 2021 0 1429
npm 更新 node_modules

npm更新和nodejs更新 更新你已经安装NPM库,这个很简单,只需要运行。 npm update -g 更新Nodejs自身。一直依赖我都是下载最新版的源码,然后make install,及其繁琐。其实只需要 ...

Fri Jun 12 00:22:00 CST 2020 0 1021
node_modules 之 rimraf

由于开发 or 自己练手小demo的时候经常会用到node依赖包,这样就不得不反复的去下载node_modules。如果一不小心依赖包下载错了 or 想解决依赖冲突时,假设在依赖非常多的情况下,通过npm uninstall ... or yarn remove ... 去卸载包,就会变得很麻烦 ...

Mon Jul 20 19:47:00 CST 2020 0 503
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM