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

Error in ReactJS #15

Open
rakesh-eltropy opened this issue Feb 8, 2018 · 1 comment
Open

Error in ReactJS #15

rakesh-eltropy opened this issue Feb 8, 2018 · 1 comment

Comments

@rakesh-eltropy
Copy link

I am getting following error when I try to use react-native-paho-mqtt in ReactJS app.

./node_modules/react-native-paho-mqtt/src/Client.js
Module parse failed: Unexpected token (27:5)
You may need an appropriate loader to handle this file type.
| // ------------------------------------------------------------------------
| 
| type ConstructorOptions = {
|   uri: string,
|   clientId: string,

Can it be used in ReactJS app?

@ricardojosegomezulmke
Copy link

I have the same issue. Is there a solution?

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

2 participants