Angular 2 - 404 traceur not found

后端 未结 17 3140
故里飘歌
故里飘歌 2020-12-03 02:34

I\'ve followed the starting guide and expanded a little upon for a previous angular 2 version. I\'ve updated my revision and changed everything accordingly. When I am runnin

17条回答
  •  情话喂你
    2020-12-03 03:04

    I got this issue when following the Angular Heroes tutorial. It was caused by invalid location of the angular-in-memory-web-api import, in the systemjs.config.js file. The correct location should be :

    'angular-in-memory-web-api': 'npm:angular-in-memory-web-api/bundles/in-memory-web-api.umd.js'
    

    and remove packages.angular-in-memory-web-api

    see https://github.com/angular/quickstart/commit/541bdc5f634e1142860c56cace247234edfaf74b

提交回复
热议问题