Hi,
Does anyone know what is this error about? I don't have a file Companion.js in my structure.
[11:56:23] Companion: ReferenceError: module is not defined
? at companion.js:48,1
[11:56:23] Companion: Uncaught ReferenceError: module is not defined (companion.js:48,1
Thank you,
Parag
Best Answeryou will have to send a screenshot of the error including your file structure or just copy the contents of the files somewhere else and create a new project.
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Do you by chance have the `export` keyword in your companion/index.js? That transpiles into an assignment to module.exports, which doesn't exist or make sense for the entry point. Removing it should address this.
Best Answer