You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
I was wondering if this is compatible with React Native or if you can point me in the right direction.
Trying to use the lib... I installed it using the npm command but I get the following error when I try to run my app. Every time I include the line:
var chatbase = require('@google/chatbase')
I get this error, so I haven't been able to use the lib
Bundling `index.js` [development, non-minified] 22.3% (123/1345), failed.
error: bundling failed: UnableToResolveError: Unable to resolve module `events` from `/user/helloproject/node_modules/@google/chatbase/node_modules/got/index.js`: Module does not exist in the module map
Could you help me get some direction on how to address this
The text was updated successfully, but these errors were encountered:
@cristiancavalli Thanks for the fast reply, I have tried the workaround suggested in your references and still get the same error.
I was wondering if maybe the chatbase-node is not intended to work for react native or needs some adjustments to make it compatible. if it's not compatible then I'd rather not spend much time stuck in this until there's a solution.
Sorry that didn't work out. There's nothing we've put into the module (that we know of) that conflicts directly with React native. The error, also, seems to be coming from a dependent library (Got) and everything that I have seen so far does not indicate that Got shouldn't work with react native. I'll keep looking into it and try to help in any way I can. Please ping this thread if you find anything on your end.
Cheers,
Cris
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I was wondering if this is compatible with React Native or if you can point me in the right direction.
Trying to use the lib... I installed it using the npm command but I get the following error when I try to run my app. Every time I include the line:
var chatbase = require('@google/chatbase')
I get this error, so I haven't been able to use the lib
Could you help me get some direction on how to address this
The text was updated successfully, but these errors were encountered: