I Made a Discord bot, and I wanted to host it on a Pi, but once I got node.js working, I ran into a wall where I have npm installed, but the dependencies won't download with it. Can someone help me?
Code
pi@raspberrypi:~/bot $ npm i discord.js
npm WARN deprecated [email protected]: use node-fetch instead
npm WARN [email protected] requires a peer of bufferutil@^3.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of erlpack@hammerandchisel/erlpack but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of node-opus@^0.2.5 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of opusscript@^0.0.3 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of sodium@^2.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of libsodium-wrappers@^0.5.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of uws@^0.14.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.
+ [email protected]
updated 1 package in 24.205s
Copyright Notice:Content Author:「Julio Machado」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/60102702/node-js-on-a-raspberry-pi-zero-w-with-dependencies-not-downloading-automatically