Reputation: 14834
In order to learn Aurelia, I'm just following the quickstart tutorial of Aurelia.js framework with basic-aurelia-project
example but I got this error in the console at the first attempt to render Todos
:
Error: (SystemJS) Error: XHR error (404 Not Found) loading http://127.0.0.1:8080/src/main.ts
Error loading http://127.0.0.1:8080/src/main.ts
I looked at the src files but could not figure out where this main.ts
should come from.
It's really furstrating as the firs step. What could have gone wrong here?
Upvotes: 3
Views: 477
Reputation: 106
I was following the same tutorial as Karlom, and got the same error when starting up http-server -o -c-1. "GET /src/main.ts" Error (404): "Not found"
The tutorial is using javascript, but when the application starts up the server looks for main.ts not main.js.
in index.html change src="scripts/config-typescript.js" to src="scripts/config-esnext.js"
Upvotes: 6