Closed ZeroPie closed 4 years ago
I'm not familiar with Gatsby so I may be misunderstanding, but where is the server component running? Chatkit server needs to be run in a node environment (and fs is a node builtin).
Closing as stale. If this is still an issue please contact us at support@pusher.com where someone will be able to give dedicated help.
What?
Chatkit-Server not working on a Gatsby Build with: "@pusher/chatkit-client": "^1.5.0", "@pusher/chatkit-server": "^1.3.0"
const chatkit = new Chatkit({ instanceLocator: instanceLocator, key: secretKey })
Suggested improvements