Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Can't install #358

Open
xemax76306 opened this issue Feb 21, 2021 · 5 comments
Open

Can't install #358

xemax76306 opened this issue Feb 21, 2021 · 5 comments

Comments

@xemax76306
Copy link

xemax76306 commented Feb 21, 2021

I can't understand what's going wrong. I attached log file.
log.txt
Also:

C:\Users\Antero>npm i youtube-dl

[email protected] postinstall C:\Users\Antero\node_modules\youtube-dl
npm run check && npm run download

[email protected] check C:\Users\Antero\node_modules\youtube-dl
bin-version-check python '>=2'

Error: Invalid version range
at module.exports (C:\Users\Antero\node_modules\bin-version-check\index.js:1
2:25)
at Object. (C:\Users\Antero\node_modules\bin-version-check-cli\cl
i.js:29:1)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js
:60:12)
at internal/main/run_main_module.js:17:47
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] check: bin-version-check python '>=2'
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] check script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Antero\AppData\Roaming\npm-cache_logs\2021-02-21T17_00_25
_321Z-debug.log
npm WARN Antero No description
npm WARN Antero No repository field.
npm WARN Antero No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: npm run check && npm run download
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Antero\AppData\Roaming\npm-cache_logs\2021-02-21T17_00_26
_807Z-debug.log

@samuelcalegari
Copy link

exactly the same problem :(

@samuelcalegari
Copy link

try
npm i --save --force youtube-dl

@Tejas12972
Copy link

still same issues

@Bawiani
Copy link

Bawiani commented Jun 18, 2023

npm WARN using --force Recommended protections disabled.
npm WARN deprecated [email protected]: node-youtube-dl is deprecated. use npm.im/youtube-dl-exec instead.
npm ERR! code 1
npm ERR! path C:\Users\Bawiani\Desktop\Projects\video-downloader-api\node_modules\youtube-dl
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c npm run check && npm run download
npm ERR! > [email protected] check
npm ERR! > bin-version-check python '>=2'
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! Error: Invalid version range
npm ERR! at module.exports (C:\Users\Bawiani\Desktop\Projects\video-downloader-api\node_modules\bin-version-check\index.js:12:25)
npm ERR! at Object. (C:\Users\Bawiani\Desktop\Projects\video-downloader-api\node_modules\bin-version-check-cli\cli.js:29:1)
npm ERR! at Module._compile (node:internal/modules/cjs/loader:1254:14)
npm ERR! at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
npm ERR! at Module.load (node:internal/modules/cjs/loader:1117:32)
npm ERR! at Module._load (node:internal/modules/cjs/loader:958:12)
npm ERR! at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
npm ERR! at node:internal/main/run_main_module:23:47

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Bawiani\AppData\Local\npm-cache_logs\2023-06-18T21_48_54_159Z-debug-0.log

@Bawiani
Copy link

Bawiani commented Jun 18, 2023

please, can someone help me out

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

No branches or pull requests

4 participants