问题描述
我正在尝试运行此项目 https://github.com/Soundnode/soundnode-app 将我的minimatch版本更新为3.10.9后,我收到此错误
I`m trying to run this project https://github.com/Soundnode/soundnode-appafter updating my minimatch version to 3.10.9, im getting this error
我的配置是节点v-4.4.2npm v- 3.10.9我在32位Windows操作系统上工作
my configuration isNode v - 4.4.2npm v- 3.10.9im working on 32 bit windows OS
推荐答案
这是警告,不是错误.发生此错误是因为fsevents
是可选的依赖项,仅当项目在macOS环境上运行时才使用(该软件包提供对Mac OS-X FSEvents的本地访问").
It's a warning, not an error. It occurs because fsevents
is an optional dependency, used only when project is run on macOS environment (the package provides 'Native Access to Mac OS-X FSEvents').
由于您是在Windows上运行项目,因此fsevents
被忽略为无关紧要.
And since you're running your project on Windows, fsevents
is skipped as irrelevant.
这里有一个PR可以解决此问题: https://github.com/npm/cli/pull/169
There is a PR to fix this behaviour here: https://github.com/npm/cli/pull/169
这篇关于npm WARN notsup跳过可选依赖项:[email protected]不受支持的平台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!