Topic: Error JS
madelingsoft pro asked 7 years ago
Dear Sir,
Please help with my website showing below error: Uncaught SyntaxError: Unexpected token export
scripts.js:4 Uncaught SyntaxError: Unexpected token export
Regards
Jason Li
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Resolved
Specification of the issue
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Damian Gemza staff commented 7 years ago
Dear madelingsoft, You have to provide me more information, because from this, I'm unable to help you or even give you any good advice. Check your components, because Unexpected token export says that somewhere you've got export keyword which is unexpected in that place. Check your error, he should say you, in which place this error occurs. Best Regards, Damianmr.Jelle-Beat commented 6 years ago
I have this same error upon loading the application. The console logs: Uncaught SyntaxError: Unexpected token export Tracing the error leads me to the following line in scripts.js: export * from './public_api'; I'm using ng-uikit-pro-standard-6.1.4 (Angular)Damian Gemza staff commented 6 years ago
Dear mr.Jelle-Beat, Does this error in console causes some problems or bugs in your application, or it just appears and doing nothing wrong to you? If this error only appears and doing nothing wrong to you, we'll check this in the future. Best Regards, Damianmr.Jelle-Beat commented 6 years ago
Fortunately this doesn't seem to cause any issues in the application itself. It just doesn't look to nice ;)Damian Gemza staff commented 6 years ago
mr.Jelle-Beat, We know about this. In the future we'll fix this, but it isn't so important right now :) Best Regards, Damian