react-native-paho-mqtt icon indicating copy to clipboard operation
react-native-paho-mqtt copied to clipboard

Error in ReactJS

Open rakesh-eltropy opened this issue 7 years ago • 1 comments

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?

rakesh-eltropy avatar Feb 08 '18 20:02 rakesh-eltropy

I have the same issue. Is there a solution?

ricardojosegomezulmke avatar Apr 24 '18 16:04 ricardojosegomezulmke