WalshyDev / Discord-Spotify-RPC

Spotify Rich Presence for Discord made in NodeJS
GNU General Public License v3.0
49 stars 14 forks source link

Can't install zlib-sync and sodium dependencies #24

Open linux0085 opened 6 years ago

linux0085 commented 6 years ago

I am trying to install discord Spotify RPC but i am getting this problem

Verbose output (from npm ): ``` C:\Users\pc\AppData\Roaming\Spotify\Discord-Spotify-RPC>npm install sodium@^2.0.0 npm ERR! code ETARGET npm ERR! notarget No matching version found for sodium@2.0.0 npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\pc\AppData\Roaming\npm-cache\_logs\2017-11-30T22_44_47_023Z-debug.log C:\Users\pc\AppData\Roaming\Spotify\Discord-Spotify-RPC>npm install zlib-sync@^0.1.0 npm ERR! code ETARGET npm ERR! notarget No matching version found for zlib-sync@0.1.0 npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\pc\AppData\Roaming\npm-cache\_logs\2017-11-30T22_45_03_627Z-debug.log C:\Users\pc\AppData\Roaming\Spotify\Discord-Spotify-RPC> ```
devoxin commented 6 years ago

Neither of those dependencies are required for normal operation.

linux0085 commented 6 years ago

well you right it is warn for required dependencies but i wish this not showing when installing RPC so people don't get confused

C:\Users\pc\AppData\Roaming\Spotify\Discord-Spotify-RPC>npm install
npm WARN discord.js@12.0.0-dev requires a peer of sodium@^2.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN discord.js@12.0.0-dev requires a peer of zlib-sync@^0.1.0 but none is installed. You must install peer dependencies yourself.

up to date in 0.929s

C:\Users\pc\AppData\Roaming\Spotify\Discord-Spotify-RPC>
devoxin commented 6 years ago

Eh. It's just information that could be useful to the end user.