标签:map http in-memory 指南 api not found style index from
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‘
}
Angularjs2-zone.js:1382 GET http://localhost:3000/traceur 404 (Not Found)
标签:map http in-memory 指南 api not found style index from
原文地址:http://www.cnblogs.com/kuangniaokuang/p/6102022.html