-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Main.Js Error #563
Description
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"