Skip to content
This repository was archived by the owner on Apr 24, 2023. It is now read-only.

doesn't install if node-pre-gyp isn't available #140

Closed
TimDaub opened this issue Dec 23, 2021 · 1 comment · Fixed by #141
Closed

doesn't install if node-pre-gyp isn't available #140

TimDaub opened this issue Dec 23, 2021 · 1 comment · Fixed by #141
Labels

Comments

@TimDaub
Copy link
Contributor

TimDaub commented Dec 23, 2021

npm i libp2p-webrtc-direct
npm ERR! code 1
npm ERR! path /Users/user/Projects/rugpulld/node_modules/wrtc
npm ERR! command failed
npm ERR! command sh -c node scripts/download-prebuilt.js
npm ERR! /bin/sh: node-pre-gyp: command not found

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/user/.npm/_logs/2021-12-23T15_24_43_238Z-debug.log
npm install -g node-pre-gyp
npm WARN deprecated [email protected]: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is d
eprecated and only the @mapbox scoped package will recieve updates in the future

added 67 packages, and audited 68 packages in 3s

2 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

after installing node-pre-gyp, installing libp2p-webrtc-direct worked too

TimDaub added a commit to TimDaub/js-libp2p-webrtc-direct that referenced this issue Dec 23, 2021
vasco-santos pushed a commit that referenced this issue Jan 12, 2022
github-actions bot pushed a commit that referenced this issue Mar 28, 2022
## [1.0.0](v0.7.1...v1.0.0) (2022-03-28)

### ⚠ BREAKING CHANGES

* this module is now ESM-only

Co-authored-by: achingbrain <[email protected]>

### Features

* convert to typescript ([#151](#151)) ([85ce5cf](85ce5cf))

### Bug Fixes

* add 'node-pre-gyp' installation to 'check' and 'test-node' actions ([#152](#152)) ([bf4a68b](bf4a68b))

### Trivial Changes

* add note about `node-pre-gyp` to readme.md ([#141](#141)) ([ab4cc82](ab4cc82)), closes [#140](#140)
* **deps-dev:** bump aegir from 35.2.1 to 36.0.0 ([#139](#139)) ([720cfad](720cfad))
* replace Travis with Github Actions ([#150](#150)) ([a73735b](a73735b))
* update project config ([13ab340](13ab340))
* update Readme ([#148](#148)) ([ba9facb](ba9facb))
@github-actions
Copy link

🎉 This issue has been resolved in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant