Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having problem in integration of Quickblox with Vuejs. Error with dependencies using javascript SDK #392

Open
Rumman001 opened this issue Jul 3, 2020 · 5 comments

Comments

@Rumman001
Copy link

These are the following errors that i am getting when running npm run watch

ERROR in ./node_modules/node-xmpp-client/lib/Client.js
Module not found: Error: Can't resolve 'child_process' in 'C:\xampp\htdocs\blog\node_modules\node-xmpp-client\lib'

ERROR in ./node_modules/quickblox/src/qbUtils.js
Module not found: Error: Can't resolve 'fs' in 'C:\xampp\htdocs\blog\node_modules\quickblox\src'

ERROR in ./node_modules/quickblox/src/modules/chat/qbChat.js
Module not found: Error: Can't resolve 'nativescript-xmpp-client' in 'C:\xampp\htdocs\blog\node_modules\quickblox\src\modules\chat'

Kindly look into this

My node version is: v12.14.0
My NPM version is: 6.13.4

@afroz9008
Copy link

i have same error ?

@afroz9008
Copy link

how you solved it @Rumman001 ?

@marxyes
Copy link

marxyes commented Aug 11, 2020

Same situation with react js. I think they have launch product without any support. Problem with their npm package.

https://developers.connectycube.com/js/code-samples

this lib have working react js example.

@therajumandapati
Copy link

You cannot use the NPM module for frontend use. The best course of action is to simply use a script tag and get the minified JS file from a CDN. I ran into the same issue and found this out the hard way.

@ghost
Copy link

ghost commented Oct 7, 2021

Hello,

This is Nikolay from QuickBlox support.

You may use this tutorial to the building an instant messaging app with QuickBlox and Vue.js:
https://quickblox.com/blog/building-an-instant-messaging-app-with-quickblox-and-vue-js/

Please note that integration of QuickBlox services with third-party frameworks is out of the scope of our support and not provided by default.
We provide support for the SDKs specified in the official documentation only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants