It seems running npm install on my machine for discordIRCd does not work properly.
I don't totally know what I'm doing, but judging from what I can gather from my terminal's output after trying npm install, it looks like discordIRCd might require all sorts of specific versions of .js material, which is why I titled this "[...] dependency issues?".
Running git clone to clone the git to my home directory works fine, no problems there.
npm WARN discord.js@11.6.4 requires a peer of @discordjs/uws@^10.149.0 but none was installed.npm WARN discord.js@11.6.4 requires a peer of bufferutil@^4.0.0 but none was installed.npm WARN discord.js@11.6.4 requires a peer of erlpack@discordapp/erlpack but none was installed.npm WARN discord.js@11.6.4 requires a peer of libsodium-wrappers@^0.7.3 but none was installed.npm WARN discord.js@11.6.4 requires a peer of @discordjs/opus@^0.1.0 but none was installed.npm WARN discord.js@11.6.4 requires a peer of node-opus@^0.2.7 but none was installed.npm WARN discord.js@11.6.4 requires a peer of opusscript@^0.0.6 but none was installed.npm WARN discord.js@11.6.4 requires a peer of sodium@^2.0.3 but none was installed.npm ERR! Linux 4.4.0-142-generic``npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"npm ERR! node v4.2.6npm ERR! npm v3.5.2npm ERR! code ELIFECYCLE` npm ERR! bufferutil@3.0.5 install: prebuild-install || node-gyp rebuildnpm ERR! Exit status 1npm ERR! npm ERR! Failed at the bufferutil@3.0.5 install script 'prebuild-install || node-gyp rebuild'.npm ERR! Make sure you have the latest version of node.js and npm installed.npm ERR! If you do, this is most likely a problem with the bufferutil package,npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:npm ERR! prebuild-install || node-gyp rebuildnpm ERR! You can get information on how to open an issue for this project with:npm ERR! npm bugs bufferutilnpm ERR! Or if that isn't available, you can get their info via:npm ERR! npm owner ls bufferutilnpm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request:npm ERR! /home/tamberoo/discordIRCd/npm-debug.logtamberoo@studio1:~/discordIRCd$ `
So, to me it looks like this project requires some certain things:
a file or directory in /usr/bin/env called node
some sort of different Linux kernel (probably older)??? since 4.4.0-142-generic seems to make it throw a hissyfit
Possibly a lot more that I can't find or know about
My guess it that this project requires all these things. The thing I don't know how to do is install/set up all these dependencies (if that's the right word for them).
Running uname -a gives me this output: Linux studio1 4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:01:15 UTC 2019 i686 i686 i686 GNU/Linux so that way y'all know some info about my machine. And hey, just for the hell of it: here's a link to a screenshot of my current setup and my terminal running screenfetch.
Hi all,
It seems running
npm install
on my machine for discordIRCd does not work properly. I don't totally know what I'm doing, but judging from what I can gather from my terminal's output after tryingnpm install
, it looks like discordIRCd might require all sorts of specific versions of .js material, which is why I titled this "[...] dependency issues?".Running
git clone
to clone the git to my home directory works fine, no problems there.Afterwards,
tamberoo@studio1:~/discordIRCd$ npm install
loadDep:erlpack → resolve ▐ ╢███████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
loadDep:erlpack → get ▐ ╢███████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated snekfetch@3.6.4: use node-fetch instead
loadDep:uuid → headers ▌ ╢████████████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
loadDep:punycode → 200 ▀ ╢█████████████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
`
> bufferutil@3.0.5 install /home/tamberoo/discordIRCd/node_modules/bufferutilgyp
failed with exit code: 1npm WARN discord.js@11.6.4 requires a peer of @discordjs/uws@^10.149.0 but none was installed.
npm WARN discord.js@11.6.4 requires a peer of bufferutil@^4.0.0 but none was installed.
npm WARN discord.js@11.6.4 requires a peer of erlpack@discordapp/erlpack but none was installed.
npm WARN discord.js@11.6.4 requires a peer of libsodium-wrappers@^0.7.3 but none was installed.
npm WARN discord.js@11.6.4 requires a peer of @discordjs/opus@^0.1.0 but none was installed.
npm WARN discord.js@11.6.4 requires a peer of node-opus@^0.2.7 but none was installed.
npm WARN discord.js@11.6.4 requires a peer of opusscript@^0.0.6 but none was installed.
npm WARN discord.js@11.6.4 requires a peer of sodium@^2.0.3 but none was installed.
npm ERR! Linux 4.4.0-142-generic``npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
`
npm ERR! bufferutil@3.0.5 install: prebuild-install || node-gyp rebuildSo, to me it looks like this project requires some certain things:
/usr/bin/env
callednode
Running
uname -a
gives me this output:Linux studio1 4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:01:15 UTC 2019 i686 i686 i686 GNU/Linux
so that way y'all know some info about my machine. And hey, just for the hell of it: here's a link to a screenshot of my current setup and my terminal runningscreenfetch
.How would one go about solving this?