mau*_*lus 5 heroku mongodb node.js
直到昨天我才能推到Heroku.目前,我正在通过以下错误消息拒绝Heroku被拒绝:
Installing node modules (yarn.lock)
yarn install v1.3.2
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > sinon-mongoose@1.3.0" has incorrect peer dependency "sinon@1".
[4/4] Building fresh packages...
error /tmp/build_592ecabd23ba493189b9cac8d/node_modules/multer-gcs/node_modules/grpc: Command failed.
Exit code: 127
Command: ./node_modules/.bin/node-pre-gyp install --fallback-to-build
Arguments:
Directory: /tmp/build_592ecabd23ba493189b9cac8d/node_modules/multer-gcs/node_modules/grpc
Output:
/bin/sh: 1: ./node_modules/.bin/node-pre-gyp: not found
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Run Code Online (Sandbox Code Playgroud)
奇怪的是,node-pre-gyp在指定的文件路径中存在.我怎样才能推动工作?我也尝试更新package.json,指定版本engines.node,engines.npm,engines.yarn,因为这些是在错误消息中提到.
更新:
我现在知道问题来自gcloud("gcloud":"^0.37.2";),因为我暂时从中移除了该模块package.json并再次推送,并且推送没有出现错误消息.
| 归档时间: |
|
| 查看次数: |
189 次 |
| 最近记录: |