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

Dependencies are out of date #5

Closed
Oragoss opened this issue Apr 29, 2022 · 2 comments
Closed

Dependencies are out of date #5

Oragoss opened this issue Apr 29, 2022 · 2 comments

Comments

@Oragoss
Copy link

Oragoss commented Apr 29, 2022

I cloned the master repo and ran npm install only to get an error. I tried installing the dependencies individually @latest but still got the same error.
`npm WARN deprecated discord-api-types@0.26.1: No longer supported. Install the latest release!
npm ERR! code 1
npm ERR! path D:\WebProjects\discord-music-bot\node_modules@discordjs\opus
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build
npm ERR! Failed to execute 'D:\Node\node.exe D:\Node\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=D:\WebProjects\discord-music-bot\node_modules@discordjs\opus\prebuild\node-v108-napi-v3-win32-x64-unknown-unknown\opus.node --module_name=opus --module_path=D:\WebProjects\discord-music-bot\node_modules@discordjs\opus\prebuild\node-v108-napi-v3-win32-x64-unknown-unknown --napi_version=8 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using node-pre-gyp@0.4.2
npm ERR! node-pre-gyp info using node@18.0.0 | win32 | x64
npm ERR! node-pre-gyp info check checked for "D:\WebProjects\discord-music-bot\node_modules@discordjs\opus\prebuild\node-v108-napi-v3-win32-x64-unknown-unknown\opus.node" (not found)
npm ERR! node-pre-gyp http GET https://github.com/discordjs/opus/releases/download/v0.5.3/opus-v0.5.3-node-v108-napi-v3-win32-x64-unknown-unknown.tar.gz
npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.5.3/opus-v0.5.3-node-v108-napi-v3-win32-x64-unknown-unknown.tar.gz
npm ERR! node-pre-gyp WARN Pre-built binaries not installable for @discordjs/opus@0.5.3 and node@18.0.0 (node-v108 ABI, unknown) (falling back to source compile with node-gyp)
npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.5.3/opus-v0.5.3-node-v108-napi-v3-win32-x64-unknown-unknown.tar.gz
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.0.0
npm ERR! gyp info using node@18.0.0 | win32 | x64
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.0.0
npm ERR! gyp info using node@18.0.0 | win32 | x64
npm ERR! gyp info find Python using Python version 3.10.4 found at "C:\Python310\python.exe"
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS msvs_version not set from command line or npm config
npm ERR! gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
npm ERR! gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
npm ERR! gyp ERR! find VS looking for Visual Studio 2015
npm ERR! gyp ERR! find VS - not found
npm ERR! gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
npm ERR! gyp ERR! find VS
dules@discordjs\opus\prebuild\node-v108-napi-v3-win32-x64-unknown-unknown\opus.node --module_name=opus --module_path=D:\WebProjects\discord-music-bot\node_modules@discordjs\opus\prebuild\node-v108-napi-v3-win32-x64-unknown-unknown --napi_version=8 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
npm ERR! node-pre-gyp ERR! stack at ChildProcess. (D:\WebProjects\discord-music-bot\node_modules@discordjs\node-pre-gyp\lib\util\compile.js:85:20)
npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:527:28)
npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1090:16)
npm ERR! node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:302:5)
npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.22000
npm ERR! node-pre-gyp ERR! command "D:\Node\node.exe" "D:\WebProjects\discord-music-bot\node_modules\@discordjs\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd D:\WebProjects\discord-music-bot\node_modules@discordjs\opus
npm ERR! node-pre-gyp ERR! node -v v18.0.0npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.4.2npm ERR! node-pre-gyp ERR! not ok

@NXS-DEV
Copy link

NXS-DEV commented May 18, 2022

Did you try npm install discord-api-types --save-dev ?

@Oragoss
Copy link
Author

Oragoss commented May 31, 2022

I did but still got the same error. It's okay I found a different library. You should try cloning on a different environment and see if you can get it working from scratch and make a README.md for it.

@Oragoss Oragoss closed this as completed May 31, 2022
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