zone.js:1382 GET http://localhost:3000/traceur 404 (Not Found)
按照 angularjs2 英雄指南,磕磕绊绊走到了http这一步,然后被这个错误秒杀了。
解决方案:
In systemjs.config.js you should change the mapping to:
'angular-in-memory-web-api': 'npm:angular-in-memory-web-api/bundles/in-memory-web-api.umd.js'
then delete from packages:
'angular-in-memory-web-api': {
main: './index.js',
defaultExtension: 'js'
}