Skip to content

./node_modules/react-native-paho-mqtt/src/Client.js - Module parse failed: Unexpected token (27:5) #40

@ken-vernaillen

Description

@ken-vernaillen

I get the following error when I try to import and compile:

./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,

What am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions