freyr-js: npm error... also i am a newbie
C:\Users\salam>npm install -g freyr
npm WARN deprecated superagent@6.1.0: Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at <https://github.com/visionmedia/superagent/releases>.
npm WARN deprecated formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau
> youtube-dl-exec@2.0.7 preinstall C:\Users\salam\AppData\Roaming\npm\node_modules\freyr\node_modules\youtube-dl-exec
> npx bin-version-check-cli python ">=2"
npx: installed 91 in 35.494s
Error: Couldn't find version of `python`
at binaryVersion (file:///C:/Users/salam/AppData/Roaming/npm-cache/_npx/22548/node_modules/bin-version-check-cli/node_modules/bin-version/index.js:55:8)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async binaryVersionCheck (file:///C:/Users/salam/AppData/Roaming/npm-cache/_npx/22548/node_modules/bin-version-check-cli/node_modules/bin-version-check/index.js:14:18)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! youtube-dl-exec@2.0.7 preinstall: `npx bin-version-check-cli python ">=2"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the youtube-dl-exec@2.0.7 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\salam\AppData\Roaming\npm-cache\_logs\2022-03-11T23_26_57_196Z-debug.log
here is the debug log https://pastebin.com/Wkpsr5Si
i am not an expert coder… i am not even a normal coder i dabbled a bit with java and this is what i kinda understood from this
it cant find python.
and the first 2 versions where deprecated.
i ran this on cmd am i just stupid or did i have to run it some other way
i just ran npm install -g freyr on windows power shell and i had the same problem
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (7 by maintainers)
Looks ok !
Thanks a lot