Discord-Spotify-RPC icon indicating copy to clipboard operation
Discord-Spotify-RPC copied to clipboard

error at start

Open the-mec opened this issue 7 years ago • 8 comments

PS D:\spotify> npm start

[email protected] start D:\spotify node index.js

(node:11580) ExperimentalWarning: The http2 module is an experimental API. { Error: connect ENOENT \?\pipe\discord-ipc-0 at Object._errnoException (util.js:1031:13) at _exceptionWithHostPort (util.js:1052:20) at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1195:14) errno: 'ENOENT', code: 'ENOENT', syscall: 'connect', address: '\\?\pipe\discord-ipc-0' }

the-mec avatar Nov 27 '17 21:11 the-mec

Did you follow this step https://github.com/WalshyDev/Discord-Spotify-RPC#node-spotify-webhelper ?

WalshyDev avatar Nov 27 '17 21:11 WalshyDev

I am also getting a similar error. Followed all the instructions for editing files found in the read me section.

(node:10544) ExperimentalWarning: The http2 module is an experimental API. { Error: connect EPERM \?\pipe\discord-ipc-0 at Object._errnoException (util.js:1031:13) at _exceptionWithHostPort (util.js:1052:20) at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1195:14) errno: 'EPERM', code: 'EPERM', syscall: 'connect', address: '\\?\pipe\discord-ipc-0' }

VulgarBear avatar Nov 28 '17 07:11 VulgarBear

There is no way to resolve this issue for sure right now. However, I have been able to resolve this by:

  1. Restarting your Discord client
  2. Restarting the program a number of times (3-4 usually)

I'll do a more through investigation and report back later tonight.

mcao avatar Nov 28 '17 16:11 mcao

Okay I'll give that a spin and see what happens

VulgarBear avatar Nov 28 '17 21:11 VulgarBear

I'm getting roughly the same error, and I've ensured I followed all the steps and have the most recent LTS version of Node.JS.

> [email protected] start C:\Users\SKRUZ\Desktop\Discord-Spotify-RPC-master
> node index.js

(node:10724) ExperimentalWarning: The http2 module is an experimental API.
{ Error: connect ENOENT \\?\pipe\discord-ipc-0
    at Object._errnoException (util.js:1024:11)
    at _exceptionWithHostPort (util.js:1046:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
  code: 'ENOENT',
  errno: 'ENOENT',
  syscall: 'connect',
  address: '\\\\?\\pipe\\discord-ipc-0' }

I've tried restarting my PC, Discord, restarting the installation process, and so far I can't seem to get it to work.

SKRUZO avatar Nov 29 '17 01:11 SKRUZO

Quite strange. I would recommend joining this server https://discord.gg/bRCvFy9 and asking in the #rpc channel.

mcao avatar Nov 29 '17 01:11 mcao

Okay I don't know if this is what necessarily "fixed" it for me but I switched over to Discord Canary after restarting several more times, and now it's working flawlessly. Could be that some aspect of the RPC and Rich Presence just hasn't made it to live yet, so for now this works. Hopefully this helps anyone else wanting to get a jump start on using Rich Presence.

SKRUZO avatar Nov 29 '17 02:11 SKRUZO

Im getting this too...

Artuto avatar Dec 16 '17 03:12 Artuto