pkozlowski-opensource / ng2-play

A minimal Angular2 playground using TypeScript and SystemJS loader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not working since update to the latest SystemJS / SystemJS/builder

thgreasi opened this issue · comments

Last working commit for me (on fresh installs) is b7b0937.
I'm getting:

GET http://localhost:9000/angular2/angular2.js [HTTP/1.1 404 Not Found 2ms]
Error: Unable to load script http://localhost:9000/angular2/angular2.js
    Error loading http://localhost:9000/angular2/angular2.js from http://localhost:9000/hello.js
    Error loading http://localhost:9000/angular2/angular2.js
Stack trace:
error@http://localhost:9000/lib/system-csp-production.src.js:1296:18
run@http://localhost:9000/lib/zone.js:110:14
zoneBoundFn@http://localhost:9000/lib/zone.js:83:14
 zone.js:110:13

Sorry, works for me on the latest master (fresh install). From the trace it looks like angular2 wasn't built properly (do you see the angular2.js file in the dist/ folder if you run gulp angular2?

I'm afraid that you will have to dig into the bottom of it as I can't reproduce locally and can't debug on your env.

@pkozlowski-opensource you are right.
It fails in my Ubuntu 12.04 installation but works fine in my 14.04 desktop.
Sorry for the spam.