npm install simple-server fails
neilyoung opened this issue · comments
What version of this package are you using?
latest from git
What operating system, Node.js, and npm version?
MacOS Ventura latest, Node 19.8.1, npm 9.5.1
What happened?
Does not install
~/Documents/test/simple-peer $ npm install simple-peer
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! code 1
npm ERR! path /Users/decades/Documents/test/simple-peer/node_modules/wrtc
npm ERR! command failed
npm ERR! command sh -c node scripts/download-prebuilt.js
npm ERR! 404 status code downloading tarball https://node-webrtc.s3.amazonaws.com/wrtc/v0.4.7/Release/darwin-arm64.tar.gz
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using node-pre-gyp@0.17.0
npm ERR! node-pre-gyp info using node@19.8.1 | darwin | arm64
npm ERR! node-pre-gyp WARN Using needle for node-pre-gyp https download
npm ERR! node-pre-gyp info check checked for "/Users/decades/Documents/test/simple-peer/node_modules/wrtc/build/Release/wrtc.node" (not found)
npm ERR! node-pre-gyp http GET https://node-webrtc.s3.amazonaws.com/wrtc/v0.4.7/Release/darwin-arm64.tar.gz
npm ERR! node-pre-gyp http 404 https://node-webrtc.s3.amazonaws.com/wrtc/v0.4.7/Release/darwin-arm64.tar.gz
npm ERR! node-pre-gyp ERR! install error
npm ERR! 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
npm ERR! node-pre-gyp ERR! stack at PassThrough.<anonymous> (/opt/homebrew/lib/node_modules/node-pre-gyp/lib/install.js:142:27)
npm ERR! node-pre-gyp ERR! stack at PassThrough.emit (node:events:524:35)
npm ERR! node-pre-gyp ERR! stack at ClientRequest.<anonymous> (/opt/homebrew/lib/node_modules/node-pre-gyp/node_modules/needle/lib/needle.js:538:9)
npm ERR! node-pre-gyp ERR! stack at Object.onceWrapper (node:events:627:26)
npm ERR! node-pre-gyp ERR! stack at ClientRequest.emit (node:events:512:28)
npm ERR! node-pre-gyp ERR! stack at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27)
npm ERR! node-pre-gyp ERR! stack at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
npm ERR! node-pre-gyp ERR! stack at TLSSocket.socketOnData (node:_http_client:535:22)
npm ERR! node-pre-gyp ERR! stack at TLSSocket.emit (node:events:512:28)
npm ERR! node-pre-gyp ERR! stack at addChunk (node:internal/streams/readable:324:12)
npm ERR! node-pre-gyp ERR! System Darwin 22.4.0
npm ERR! node-pre-gyp ERR! command "/opt/homebrew/Cellar/node/19.8.1/bin/node" "/opt/homebrew/bin/node-pre-gyp" "install"
npm ERR! node-pre-gyp ERR! cwd /Users/decades/Documents/test/simple-peer/node_modules/wrtc
npm ERR! node-pre-gyp ERR! node -v v19.8.1
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.17.0
npm ERR! node-pre-gyp ERR! not ok
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/decades/.npm/_logs/2023-05-03T14_18_03_673Z-debug-0.log
~/Documents/test/simple-peer $
Required download does not exist