Comments (3)
the same :(
`C:\Users\logmi\Documents\discord-chrome-presence-master>npm start
[email protected] start C:\Users\logmi\Documents\discord-chrome-presence-master
node app.js
Discord-Chrome-Presence is ready!
(node:11076) UnhandledPromiseRejectionWarning: Error: Unhandled "error" event. ([object Object])
at RP.emit (events.js:186:19)
at rpc.login.then.catch (C:\Users\logmi\Documents\discord-chrome-presence-master\node_modules\discord-rich-presence\index.js:54:28)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
(node:11076) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:11076) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
`
from discord-chrome-presence.
Ditto 😢
The error comes from the discord-rich-presence module, so it could be a bug in there and/or something wrong with the app that it logs in with:
const client = require('discord-rich-presence')('417686773074886666');
So I tried making my own Google Chrome app and using its client ID instead (484805938608603140
) but it still doesn't work 😢
It looks like this must be an issue with the discord-rich-presence module because just evaluating that line itself causes an error.
from discord-chrome-presence.
I FOUND THE ISSUE!!
This package is explicitly specifying discord-rich-presence version 0.0.6, but it has been updated to 0.0.7. discord-rich-presence depends on the latest discord.js/RPC, so the old drp package isn't compatible with the newest d.js/RPC package.
from discord-chrome-presence.
Related Issues (10)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-chrome-presence.