Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yarn add @myetherwallet/mewconnect-web-client fails with node-gyp error #140

Open
ShubhamChndrvnshi opened this issue Mar 8, 2022 · 0 comments

Comments

@ShubhamChndrvnshi
Copy link

ShubhamChndrvnshi commented Mar 8, 2022

When I try to install MewWallet to my project, throw below error:

[4/4] 🔨 Building fresh packages...
[7/11] ⢀ wrtc
[-/11] ⢀ waiting...
[-/11] ⢀ waiting...
[4/11] ⢀ secp256k1
error /Users/shubham/Desktop/Code/hashstack/open-ui/node_modules/wrtc: Command failed.
Exit code: 1
Command: node scripts/download-prebuilt.js
Arguments:
Directory: /Users/shubham/Desktop/Code/hashstack/open-ui/node_modules/wrtc
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.13.0
node-pre-gyp info using node@14.18.1 | darwin | arm64
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp info check checked for "/Users/shubham/Desktop/Code/hashstack/open-ui/node_modules/wrtc/build/Release/wrtc.node" (not found)
node-pre-gyp http GET https://node-webrtc.s3.amazonaws.com/wrtc/v0.4.7/Release/darwin-arm64.tar.gz
node-pre-gyp http 404 https://node-webrtc.s3.amazonaws.com/wrtc/v0.4.7/Release/darwin-arm64.tar.gz
node-pre-gyp ERR! install error
node-pre-gyp ERR! stack Error: 404 status code downloading tarball https://node-webrtc.s3.amazonaws.com/wrtc/v0.4.7/Release/darwin-arm64.tar.gz
node-pre-gyp ERR! stack at Request. (/Users/shubham/Desktop/Code/hashstack/open-ui/node_modules/node-pre-gyp/lib/install.js:149:27)
node-pre-gyp ERR! stack at Request.emit (events.js:412:35)
node-pre-gyp ERR! stack at Request.onRequestResponse (/Users/shubham/Desktop/Code/hashstack/open-ui/node_modules/request/request.js:1059:10)
node-pre-gyp ERR! stack at ClientRequest.emit (events.js:400:28)
node-pre-gyp ERR! stack at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:647:27)
node-pre-gyp ERR! stack at HTTPParser.parserOnHeadersComplete (_http_common.js:127:17)
node-pre-gyp ERR! stack at TLSSocket.socketOnData (_http_client.js:515:22)
node-pre-gyp ERR! stack at TLSSocket.emit (events.js:400:28)
node-pre-gyp ERR! stack at addChunk (internal/streams/readable.js:293:12)
node-pre-gyp ERR! stack at readableAddChunk (internal/streams/readable.js:267:9)
node-pre-gyp ERR! System Darwin 21.3.0
node-pre-gyp ERR! command "/Users/shubham/.nvm/versions/node/v14.18.1/bin/node" "/Users/shubham/Desktop/Code/hashstack/open-ui/node_modules/wrtc/node_modules/.bin/node-pre-gyp" "install"
node-pre-gyp ERR! cwd /Users/shubham/Desktop/Code/hashstack/open-ui/node_modules/wrtc
node-pre-gyp ERR! node -v v14.18.1

node v14.18.1
yarn: 1.22.17
Chip: Apple M1 Pro

@lukeb36 lukeb36 mentioned this issue Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant