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

The project doesn't install on my machine #13

Open
HusseinBaraja opened this issue Dec 1, 2024 · 8 comments
Open

The project doesn't install on my machine #13

HusseinBaraja opened this issue Dec 1, 2024 · 8 comments

Comments

@HusseinBaraja
Copy link

I have installed both node 18 and yt-dlp but I keep getting this error:
"npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated har-validator@5.1.5: this library is no longer supported
npm warn deprecated har-validator@5.0.3: this library is no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm warn deprecated request@2.87.0: request has been deprecated, see request/request#3142
npm warn deprecated request@2.88.2: request has been deprecated, see request/request#3142
npm warn cleanup Failed to remove some directories [
npm warn cleanup [
npm warn cleanup 'C:\Users\Hussain\AppData\Roaming\nvm\v18.20.5\node_modules\vsdown',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\Hussain\AppData\Roaming\nvm\v18.20.5\node_modules\vsdown\node_modules\axios\lib'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\Hussain\AppData\Roaming\nvm\v18.20.5\node_modules\vsdown\node_modules\axios\lib'
npm warn cleanup }
npm warn cleanup ]
npm warn cleanup ]
npm error code 1
npm error path C:\Users\Hussain\AppData\Roaming\nvm\v18.20.5\node_modules\vsdown\node_modules\ytdl-run
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node ./install.js
npm error installing youtube-dl...
npm error C:\Users\Hussain\AppData\Roaming\nvm\v18.20.5\node_modules\vsdown\node_modules\download\node_modules\got\index.js:182
npm error ee.emit('error', new got.RequestError(err, opts));
npm error ^
npm error
npm error GotError [RequestError]: connect ETIMEDOUT 2001:1a50:11:0:5f:8f:acaa:177:443
npm error at ClientRequest. (C:\Users\Hussain\AppData\Roaming\nvm\v18.20.5\node_modules\vsdown\node_modules\download\node_modules\got\index.js:182:22)
npm error at Object.onceWrapper (node:events:632:26)
npm error at ClientRequest.emit (node:events:517:28)
npm error at TLSSocket.socketErrorListener (node:_http_client:501:9)
npm error at TLSSocket.emit (node:events:517:28)
npm error at emitErrorNT (node:internal/streams/destroy:151:8)
npm error at emitErrorCloseNT (node:internal/streams/destroy:116:3)
npm error at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
npm error code: 'ETIMEDOUT',
npm error host: 'yt-dl.org',
npm error hostname: 'yt-dl.org',
npm error method: 'GET',
npm error path: '/downloads/latest/youtube-dl.exe',
npm error protocol: 'https:',
npm error url: 'https://yt-dl.org/downloads/latest/youtube-dl.exe'
npm error }
npm error
npm error Node.js v18.20.5
npm error A complete log of this run can be found in: C:\Users\Hussain\AppData\Local\npm-cache_logs\2024-12-02T06_46_35_027Z-debug-0.log
"

Here is a list of what I tried

  • power shell with and without admin permission
  • CMD with and without admin permission
  • Node 18 and node 23
  • I suspect the issue arises because the app is trying to download youtube-dl from (https://yt-dl.org/downloads/latest/youtube-dl.exe) which I don't have access to in my location, I tried using a VPN to access the site from a few different location but the same happened in all of them.

{64D3647C-6BAB-4ABD-8EB4-D3F67448817B}

Here is the log file generated by this error:
2024-12-02T06_46_35_027Z-debug-0.log

@muhamed-didovic
Copy link
Owner

hey @HusseinBaraja yt-dlp is installed on your machine?

@HusseinBaraja
Copy link
Author

@muhamed-didovic yes, it's downloaded, installed and added to the environment variables path, I thought I mentioned it in my issue, my bad
I downloaded the latest version as of yesterday

@muhamed-didovic
Copy link
Owner

did you try again?

@HusseinBaraja
Copy link
Author

Hi, @muhamed-didovic sorry for the late reply
unfortunately it still doesn't work
Here is a screen shot of my latest try

{1B02240C-79D3-49EC-B916-B9EB06A00A2A}

@HusseinBaraja
Copy link
Author

Hello @muhamed-didovic, any updates?

@muhamed-didovic
Copy link
Owner

hey @HusseinBaraja I see from image that it still wants to install youtube-dl...

@HusseinBaraja
Copy link
Author

So, how can I solve it?

@muhamed-didovic

@muhamed-didovic
Copy link
Owner

hit me on the discord: memo23

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

No branches or pull requests

2 participants