Open Bogdalleksss opened 2 months ago
I am having the same issue as well!
Same issue now too.
You need to add the following code to the package.json file inside rpc-websockets node module inside of the package:
"exports": { "./dist/lib/client": "./dist/lib/client.cjs", "./dist/lib/client/websocket": "./dist/lib/client/websocket.cjs", ".": "./dist/index.cjs", "./browser": "./dist/index.browser.cjs" },
Obviously you need to update the destinations and filenames but this should work.
I trying this fix through remove node_modules and package-lock.json after which run command "npm install", and this not help me.
How to fix it?