I am using a React project using this RPC. I have seem to find an error here:
ERROR in ./node_modules/discord-rpc/src/client.js 8:4-21
Module not found: Error: Can't resolve 'timers' in '/Users/alphabeta906/Documents/BloodAlchemy/my-app/node_modules/discord-rpc/src'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
Hi,
I am using a React project using this RPC. I have seem to find an error here:
This is my webpack config:
Here is my code:
It seems to work on node and on terminal, so it's a web only problem. I have also installed timers-browsify.
Thanks!