07-22-2019 21:01
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-22-2019 21:01
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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

07-22-2019 23:04
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-22-2019 23:04
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
the module 'module' you are trying to reference in companion.js is not defined. The first instance of this occurring is on line 48 of companion.js . Click on 'companion.js:48,1' and see where it takes you.

07-22-2019 23:14
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-22-2019 23:14
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I don't have the file companion.js in my project. I cant click it.

07-22-2019 23:26
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-22-2019 23:26
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
you 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.

07-24-2019 09:52
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



07-24-2019 09:52
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.

