Unable to install @discordjs/opus, getting the error output below and unsure if the 404 error is relevant to my problem or if there is something else I am missing. Any help would be greatly appreciated
npm i @discordjs/opus
npm ERR! code 1
npm ERR! path /volume1/homes/UK/Drive/DiscordBot/node_modules/@discordjs/opus
npm ERR! command failed
npm ERR! command sh /tmp/install-96cf76db.sh
npm ERR! Failed to execute '/volume1/@appstore/Node.js_v16/usr/local/bin/node /volume1/@appstore/Node.js_v16/usr/local/lib/node_modules/npm/node_mo dules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/volume1/homes/UK/Drive/DiscordBot/node_modules/@discordjs/opus/prebuild/no de-v93-napi-v3-linux-x64-glibc-2.26/opus.node --module_name=opus --module_path=/volume1/homes/UK/Drive/DiscordBot/node_modules/@discordjs/opu s/prebuild/node-v93-napi-v3-linux-x64-glibc-2.26 --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.5
npm ERR! node-pre-gyp info using node@16.17.1 | linux | x64
npm ERR! node-pre-gyp info check checked for "/volume1/homes/UK/Drive/DiscordBot/node_modules/@discordjs/opus/prebuild/node-v93-napi-v3-linux -x64-glibc-2.26/opus.node" (not found)
npm ERR! node-pre-gyp http GET https://github.com/discordjs/opus/releases/download/v0.8.0/opus-v0.8.0-node-v93-napi-v3-linux-x64-glibc-2.26.tar.gz
npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.8.0/opus-v0.8.0-node-v93 -napi-v3-linux-x64-glibc-2.26.tar.gz
npm ERR! node-pre-gyp WARN Pre-built binaries not installable for @discordjs/opus@0.8.0 and node@16.17.1 (node-v93 ABI, glibc) (falling back to sou rce 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.8.0/opus-v0.8.0-node-v 93-napi-v3-linux-x64-glibc-2.26.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@16.17.1 | linux | 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@16.17.1 | linux | x64
npm ERR! gyp info find Python using Python version 3.8.12 found at "/bin/python3"
npm ERR! gyp info spawn /bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/volume1/@appstore/Node.js_v16/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/volume1/homes/UK/Drive/DiscordBot/node_modules/@discordjs/opus/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/volume1/@appstore/Node.js_v16/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/var/services/homes/UK/.cache/node-gyp/16.17.1/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/var/services/homes/UK/.cache/node-gyp/16.17.1',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/volume1/@appstore/Node.js_v16/usr/local/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/var/services/homes/UK/.cache/node-gyp/16.17.1/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/volume1/homes/UK/Drive/DiscordBot/node_modules/@discordjs/opus',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
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@16.17.1 | linux | x64
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: not found: make
npm ERR! gyp ERR! stack at getNotFoundError (/volume1/@appstore/Node.js_v16/usr/local/lib/node_modules/npm/node_modules/which/which.js:10:17)
npm ERR! gyp ERR! stack at /volume1/@appstore/Node.js_v16/usr/local/lib/node_modules/npm/node_modules/which/which.js:57:18
npm ERR! gyp ERR! stack at new Promise (<anonymous>)
npm ERR! gyp ERR! stack at step (/volume1/@appstore/Node.js_v16/usr/local/lib/node_modules/npm/node_modules/which/which.js:54:21)
npm ERR! gyp ERR! stack at /volume1/@appstore/Node.js_v16/usr/local/lib/node_modules/npm/node_modules/which/which.js:71:22
npm ERR! gyp ERR! stack at new Promise (<anonymous>)
npm ERR! gyp ERR! stack at subStep (/volume1/@appstore/Node.js_v16/usr/local/lib/node_modules/npm/node_modules/which/which.js:69:33)
npm ERR! gyp ERR! stack at /volume1/@appstore/Node.js_v16/usr/local/lib/node_modules/npm/node_modules/which/which.js:80:22
npm ERR! gyp ERR! stack at /volume1/@appstore/Node.js_v16/usr/local/lib/node_modules/npm/node_modules/isexe/index.js:42:5
npm ERR! gyp ERR! stack at /volume1/@appstore/Node.js_v16/usr/local/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
npm ERR! gyp ERR! System Linux 4.4.180+
npm ERR! gyp ERR! command "/volume1/@appstore/Node.js_v16/usr/local/bin/node" "/volume1/@appstore/Node.js_v16/usr/local/lib/node_modules/npm/node_m odules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/volume1/homes/UK/Drive/DiscordBot/node_modules/@discordjs/opus/preb uild/node-v93-napi-v3-linux-x64-glibc-2.26/opus.node" "--module_name=opus" "--module_path=/volume1/homes/UK/Drive/DiscordBot/node_modules/@di scordjs/opus/prebuild/node-v93-napi-v3-linux-x64-glibc-2.26" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=3" "--node_napi_label= napi-v3"
npm ERR! gyp ERR! cwd /volume1/homes/UK/Drive/DiscordBot/node_modules/@discordjs/opus
npm ERR! gyp ERR! node -v v16.17.1
npm ERR! gyp ERR! node-gyp -v v9.0.0
npm ERR! gyp ERR! not ok
npm ERR! node-pre-gyp ERR! build error
npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/volume1/@appstore/Node.js_v16/usr/local/bin/node /volume1/@appstore/Node.js_v16/usr/loc al/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/volume1/homes/UK/Drive/DiscordBot/node_modu les/@discordjs/opus/prebuild/node-v93-napi-v3-linux-x64-glibc-2.26/opus.node --module_name=opus --module_path=/volume1/homes/UK/Drive/Discord Bot/node_modules/@discordjs/opus/prebuild/node-v93-napi-v3-linux-x64-glibc-2.26 --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.<anonymous> (/volume1/homes/UK/Drive/DiscordBot/node_modules/@discordjs/node-pre-gyp/lib /util/compile.js:85:20)
npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1093:16)
npm ERR! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
npm ERR! node-pre-gyp ERR! System Linux 4.4.180+
npm ERR! node-pre-gyp ERR! command "/volume1/@appstore/Node.js_v16/usr/local/bin/node" "/volume1/homes/UK/Drive/DiscordBot/node_modules/.bin/ node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd /volume1/homes/UK/Drive/DiscordBot/node_modules/@discordjs/opus
npm ERR! node-pre-gyp ERR! node -v v16.17.1
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.4.5
npm ERR! node-pre-gyp ERR! not ok
You still stuck at this? It seems like you have not installed the package build-essential, just install it with your package manager, e.g. sudo apt install build-essential
Unable to install @discordjs/opus, getting the error output below and unsure if the 404 error is relevant to my problem or if there is something else I am missing. Any help would be greatly appreciated
Further details: