-
Notifications
You must be signed in to change notification settings - Fork 504
npm install
fails
#383
Comments
This might be a node version issue, rather than an npm version issue. I was on node 16.10.0, but it looks like this project may be using node v8.11.3. node v8 doesn't build on Apple Silicon. I might need to move this work to a Linux instance. |
Starting over on an Ubuntu 18.04 machine and installing node 8.11.3 with nvm I've gotten
|
Ran into the same problem, thanks for updating the issue with your experience. |
Looks like it requires node 8, probably worth mentioning in the readme. The following worked for me: docker run -v `pwd`:/contracts node:8 sh -c "cd contracts && npm install"
docker run -ti -v `pwd`:/contracts -p 9545:9545/tcp node:8 sh -c "cd contracts && npm run testrpc" |
After trying these steps, attempt to run |
I've been attempting to run a testnet locally but I've been unable to
npm install
. macOS 11.6. npm 8.1.1. I'm on latest main, which is commit dcaa45a. I run:Full output here. A key line appears to be:
I notice also it prints this:
Is there a dependency that's incompatible with Python 3.9? This may be a red herring.
I get the same error when I regenerate package-lock.json, clean, and attempt to install.
#54 is similar but I'm on npm 8 and the fix #55 is included in main now.
The text was updated successfully, but these errors were encountered: