我想将我的网站部署到 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)