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

Main.Js Error #563

@keedman4

Description

@keedman4

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions