Clicking on Heroku Failures - mongoose sinon, grpc, node-pre-gyp

Until yesterday, I could click on Heroka. I am currently clicking on Heroku rejected with the following error message:

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. 

It is strange that node-pre-gyp exists in the specified file path. How can I make it work? I also tried updating package.json , indicating the versions for engines.node , engines.npm , engines.yarn , as they were mentioned in the error message.

UPDATE:

Now I know that the problem comes from gcloud ( "gcloud":"^0.37.2"; ), since I temporarily removed this module from package.json and clicked again, and the click went without an error message.

+5
source share

Source: https://habr.com/ru/post/1273407/


All Articles