【问题标题】:Can some one help me solving this problem to install nodemon有人可以帮我解决这个问题来安装nodemon吗
【发布时间】: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 显示什么?如果你得到一个版本号,你就可以了。大多数错误都可以忽略。

标签: node.js npm nodemon


【解决方案1】:

这只是 OSx 上的警告,您可以使用强制安装

npm install -f

【讨论】:

    猜你喜欢
    • 2023-03-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-02-28
    • 1970-01-01
    相关资源
    最近更新 更多