Skip to content

Conversation

paulhauner
Copy link
Member

@paulhauner paulhauner commented Jun 4, 2020

Issue Addressed

NA

Proposed Changes

Attempts to resolve an issue with npm when running CI on MacOS runners.

Failed test: https://github.com/sigp/lighthouse/pull/1227/checks?check_run_id=733447872

Error:

/usr/local/bin/ganache-cli -> /usr/local/lib/node_modules/ganache-cli/cli.js

> keccak@1.4.0 install /usr/local/lib/node_modules/ganache-cli/node_modules/keccak
> npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used."


> keccak@1.4.0 rebuild /usr/local/lib/node_modules/ganache-cli/node_modules/keccak
> node-gyp rebuild

gyp ERR! clean error 
gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
gyp ERR! System Darwin 19.4.0
gyp ERR! command "/usr/local/Cellar/node@12/12.16.3/bin/node" "/usr/local/Cellar/node@12/12.16.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/ganache-cli/node_modules/keccak
gyp ERR! node -v v12.16.3
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! keccak@1.4.0 rebuild: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 

Where I found the solution: nodejs/node-gyp#1547 (comment)

@paulhauner
Copy link
Member Author

Closing this since I can't seem to find the failing test anymore.. Might come back to this if I see the failure again.

@paulhauner paulhauner closed this Jun 5, 2020
@AgeManning AgeManning deleted the macos-ganache branch September 18, 2020 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
work-in-progress PR is a work-in-progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant