【发布时间】:2021-10-31 23:17:43
【问题描述】:
loadDep:fsevents -> reque - |##########---------------------------------------|
WARN engine fsevents@2.3.2: wanted: {"node":"^8.16.0 || ^10.6.0 || >=11.0.0"} (c/home/gapvak-cs3/.npm-global/bin/nodemon -> /home/gapvak-cs3/.npm-global/lib/node_modules/nodemon/bin/nodemon.js
> nodemon@2.0.12 postinstall /home/gapvak-cs3/.npm-global/lib/node_modules/nodemon
> node bin/postinstall || exit 0
Love nodemon? You can now support the project via the open collective:
> https://opencollective.com/nodemon/donate
/home/gapvak-cs3/.npm-global/lib
`-- nodemon@2.0.12
npm WARN optional Skipping failed optional dependency /nodemon/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@2.3.2
【问题讨论】:
-
Not compatible with your operating system or architecture -
fsevents - Native access to MacOS FSEvents in Node.js但你在 Windows 上。 -
这是一个警告,而不是错误。
nodemon -v显示什么?如果你得到一个版本号,你就可以了。大多数错误都可以忽略。