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

npm install error #40

Closed
brianfmorris opened this issue Feb 18, 2021 · 1 comment · Fixed by #41
Closed

npm install error #40

brianfmorris opened this issue Feb 18, 2021 · 1 comment · Fixed by #41

Comments

@brianfmorris
Copy link

brianfmorris commented Feb 18, 2021

as requested #39 (comment):

$ npm install -g miraclx/freyr-js
npm ERR! code 1
npm ERR! git dep preparation failed
npm ERR! command /usr/local/Cellar/node/15.8.0/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/Users/bfm/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm ERR! code 1
npm ERR! npm ERR! path /Users/bfm/.npm/_cacache/tmp/git-clone-5f432a76
npm ERR! npm ERR! command failed
npm ERR! npm ERR! command sh -c node ./scripts/download.js
npm ERR! npm ERR! node:internal/modules/cjs/loader:928
npm ERR! npm ERR! throw err;
npm ERR! npm ERR! ^
npm ERR! npm ERR!
npm ERR! npm ERR! Error: Cannot find module 'got'
npm ERR! npm ERR! Require stack:
npm ERR! npm ERR! - /Users/bfm/.npm/_cacache/tmp/git-clone-5f432a76/lib/downloader.js
npm ERR! npm ERR! - /Users/bfm/.npm/_cacache/tmp/git-clone-5f432a76/scripts/download.js
npm ERR! npm ERR! at Function.Module._resolveFilename (node:internal/modules/cjs/loader:925:15)
npm ERR! npm ERR! at Function.Module._load (node:internal/modules/cjs/loader:769:27)
npm ERR! npm ERR! at Module.require (node:internal/modules/cjs/loader:997:19)
npm ERR! npm ERR! at require (node:internal/modules/cjs/helpers:92:18)
npm ERR! npm ERR! at Object. (/Users/bfm/.npm/_cacache/tmp/git-clone-5f432a76/lib/downloader.js:5:13)
npm ERR! npm ERR! at Module._compile (node:internal/modules/cjs/loader:1108:14)
npm ERR! npm ERR! at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
npm ERR! npm ERR! at Module.load (node:internal/modules/cjs/loader:973:32)
npm ERR! npm ERR! at Function.Module._load (node:internal/modules/cjs/loader:813:14)
npm ERR! npm ERR! at Module.require (node:internal/modules/cjs/loader:997:19) {
npm ERR! npm ERR! code: 'MODULE_NOT_FOUND',
npm ERR! npm ERR! requireStack: [
npm ERR! npm ERR! '/Users/bfm/.npm/_cacache/tmp/git-clone-5f432a76/lib/downloader.js',
npm ERR! npm ERR! '/Users/bfm/.npm/_cacache/tmp/git-clone-5f432a76/scripts/download.js'
npm ERR! npm ERR! ]
npm ERR! npm ERR! }

@miraclx
Copy link
Owner

miraclx commented Feb 18, 2021

The original przemyslawpluta/node-youtube-dl dependency was replaced because of a deprecation warning for its dependency request.

The replacement was miraclx/node-youtube-dl which merely merged przemyslawpluta/node-youtube-dl#299

That worked for a while, until ytdl-org/youtube-dl#28196. Which przemyslawpluta/node-youtube-dl responded to with przemyslawpluta/node-youtube-dl#350 and tagged on v3.4.0 (przemyslawpluta/node-youtube-dl@0106901)

I'll revert #23 and upgrade that with #41

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

Successfully merging a pull request may close this issue.

2 participants