-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Module error #59
Comments
Same problem as above; has this project been abandoned? |
I am also getting this error, has anyone been able to find a fix for it? |
`maxwell@maxwell-server-main:~/Desktop/test-ai$ node test.js SyntaxError: Unexpected token export |
This error persists, i tried to get into the source code and started changing imports and stuff. But seems like a wormhole of an issue. Tried on windows and wsl2 ubuntu 20.4. |
I temporarily solved it. |
Can you tell me what the solution was? |
I was just replace code |
node app
D:\DESKTOP\proj31\node_modules\neuro.js\index.js:1
export const classifiers = require('./dist/core');
^^^^^^
SyntaxError: Unexpected token 'export'
�[90m at Module._compile (internal/modules/cjs/loader.js:881:18)�[39m
�[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:962:10)�[39m
�[90m at Module.load (internal/modules/cjs/loader.js:798:32)�[39m
�[90m at Function.Module._load (internal/modules/cjs/loader.js:711:12)�[39m
�[90m at Module.require (internal/modules/cjs/loader.js:838:19)�[39m
�[90m at require (internal/modules/cjs/helpers.js:74:18)�[39m
at Object. (D:\DESKTOP\proj31\app.js:1:13)
�[90m at Module._compile (internal/modules/cjs/loader.js:945:30)�[39m
�[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:962:10)�[39m
�[90m at Module.load (internal/modules/cjs/loader.js:798:32)�[39m
D:\DESKTOP\proj31>npm --version
6.11.3
D:\DESKTOP\proj31>node --version
v12.11.1
The text was updated successfully, but these errors were encountered: