Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Main.Js Error #563

Open
keedman4 opened this issue May 9, 2020 · 0 comments
Open

Main.Js Error #563

keedman4 opened this issue May 9, 2020 · 0 comments

Comments

@keedman4
Copy link

keedman4 commented May 9, 2020

I keep getting these set of errors when i run my program...

"Uncaught SyntaxError: Cannot use import statement outside a module"
"zone.js:3243 GET http://localhost:3000/src/main.js 404 (Not Found)"
"(index):19 (SystemJS) XHR error (404 Not Found) loading http://localhost:3000/src/main.js
Error: XHR error (404 Not Found) loading http://localhost:3000/src/main.js
at XMLHttpRequest.wrapFn (http://localhost:3000/node_modules/zone.js/dist/zone.js:1332:39)
at ZoneDelegate.invokeTask (http://localhost:3000/node_modules/zone.js/dist/zone.js:423:31)
at Zone.runTask (http://localhost:3000/node_modules/zone.js/dist/zone.js:195:47)
at ZoneTask.invokeTask [as invoke] (http://localhost:3000/node_modules/zone.js/dist/zone.js:498:34)
at invokeTask (http://localhost:3000/node_modules/zone.js/dist/zone.js:1744:14)
at XMLHttpRequest.globalZoneAwareCallback (http://localhost:3000/node_modules/zone.js/dist/zone.js:1770:17)
Error loading http://localhost:3000/src/main.js"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant