小编Ily*_*eev的帖子

如何修复:“错误 fsevents@2.0.7:平台“linux”与此模块不兼容。

我想将我的网站部署到 Heroku,但出现下一个错误:

error fsevents@2.0.7: The platform "linux" is incompatible with this module.
error Found incompatible module.
Run Code Online (Sandbox Code Playgroud)

我已经尝试升级纱线节点但它没有帮助。我使用 macOS Mojave v 10.14.5,我不明白为什么 linux 在这里。



remote: -----> Installing binaries
remote:        engines.node (package.json):  10.15.3
remote:        engines.npm (package.json):   unspecified (use default)
remote:        engines.yarn (package.json):  unspecified (use default)
remote:        
remote:        Resolving node version 10.15.3...
remote:        Downloading and installing node 10.15.3...
remote:        Using default npm version: 6.4.1
remote:        Resolving yarn version 1.x...
remote:        Downloading and installing yarn (1.17.3)...
remote:        Installed yarn 1.17.3
remote:        
remote: -----> Installing …
Run Code Online (Sandbox Code Playgroud)

heroku node.js npm mern yarnpkg

18
推荐指数
2
解决办法
2万
查看次数

标签 统计

heroku ×1

mern ×1

node.js ×1

npm ×1

yarnpkg ×1