-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
install error #44
Comments
The installation method requires |
[email protected] postinstall C:\Users\annyi\AppData\Roaming\npm\node_modules\freyr\node_modules\youtube-dl
Error: Invalid version range npm ERR! A complete log of this run can be found in: npm ERR! A complete log of this run can be found in: C:\Program Files\Git>freyr |
First, verify you have all of freyr's dependencies satisfied, including the version numbers https://github.com/miraclx/freyr-js#requirements Example: Please report what version of python you have installed. |
Python 3.9.2 |
Confirm that binary is available on your PATH. C:\Users\annyi>python --version |
It's likely you have python installed locally and is not globally accessible in the sense I mentioned above. Show a snippet of how you check the version, to be sure. |
When I run it, I don't see anything about PATH. |
Node.js v14.16.0 |
Got it! I'm investigating this. This seems to be an issue with a direct dependency itself przemyslawpluta/node-youtube-dl#358 |
node-youtube-dl, the dependency causing issues introduced a broken commit 102de70 that validates the python version before installing itself. Either the assertion or tool used was broken. I've fixed this by locking the version on the last tested version You should be good now, retry I've tested it and it works as expected here. I'll add a lockfile to the repo to fix issues like these, or if you're amenable, contributions are welcome! |
I tried installing it with NPM, but I keep getting this error.
C:\Users\annyi>npm install -g miraclx/freyr-js
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://[email protected]/miraclx/freyr-js.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
The text was updated successfully, but these errors were encountered: