Closed jcamus closed 8 years ago
Did you migrate to final from RC.4? If so, you need to make sure that you've updated your SystemJS configuration. Currently Angular is distributed with ES6 modules in order to be easier for tree-shaking. If SystemJS finds out that you have ES6 syntax it by default tries to load traceur which is what happens in your case.
You can see how your setup differs from the one of the seed and fix it based on the information above. Good luck! Let us know how it goes!
Hello, I've just updated to the latest angular2-seed. Install and build seems ok. But when app is running here is my error :
at eval (http://localhost:5555/node_modules/traceur/src/node/api.js:22:12)
Evaluating http://localhost:5555/node_modules/traceur/src/node/api.js
Error loading http://localhost:5555/node_modules/traceur/src/node/api.js
Unable to load transpiler to transpile http://localhost:5555/node_modules/@angular/core/src/facade/lang.js
Error loading http://localhost:5555/node_modules/@angular/core/src/facade/lang.js as "@angular/core/src/facade/lang" from http://localhost:5555/node_modules/ng2-translate/src/translate.pipe.js
at eval (http://localhost:5555/node_modules/traceur/src/node/api.js:22:12)
Evaluating http://localhost:5555/node_modules/traceur/src/node/api.js
Error loading http://localhost:5555/node_modules/traceur/src/node/api.js
Unable to load transpiler to transpile http://localhost:5555/node_modules/@angular/core/src/facade/lang.js
Error loading http://localhost:5555/node_modules/@angular/core/src/facade/lang.js as "@angular/core/src/facade/lang" from http://localhost:5555/node_modules/ng2-translate/src/translate.pipe.js "Report this error at https://github.com/mgechev/angular2-seed/issues"
any help? regards
The error confirms the comment above. ng2-translate
tries to load http://localhost:5555/node_modules/@angular/core/src/facade/lang.js
which contains ES6 file.
Here are more details from the ng2-translate issue tracker https://github.com/ocombe/ng2-translate/issues?q=is%3Aissue+traceur+is%3Aclosed
A big problem here, when running my application with latest angular core version
_Failed to load resource: the server responded with a status of 404 (Not Found) localhost/:99 Error: (SystemJS) XHR error (404 Not Found) loading http://localhost:5555/node_modules/traceur.js(…) "Report this error at https://github.com/mgechev/angular2-seed/issues"_
here is my package.json
What is wrong please?