推向Heroku失败 – sinon-mongoose,grpc,node-pre-gyp

直到昨天我才能推到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. 

奇怪的是, node-pre-gyp在指定的文件path中。 我怎样才能推动工作? 我也试过更新package.json ,指定了engines.nodeengines.npmengines.yarn的版本,因为在错误信息中提到了这些版本。

更新:

我现在知道问题来自gcloud"gcloud":"^0.37.2"; ),因为我暂时从package.json删除了该模块,并再次推送,并且推送过程没有出现错误消息。