我是Angular 2的新手,爲了開始使用,我從官方網站下載了Quickstart項目。Angular 2快速啓動演示不起作用
但它顯示我在控制檯以下錯誤:
GET http://localhost:3000/node_modules/@angular/platf...-dynamic/bundles/platform-browser-dynamic.umd.js
304 Not Modified 87ms zone.js (line 2019) GET http://localhost:3000/systemjs-angular-loader.js 404 Not Found 2ms zone.js (line 2019)
"NetworkError: 404 Not Found - http://localhost:3000/systemjs-angular-loader.js " systemj...ader.js
Unhandled Promise rejection: Permission denied to access property "then" ; Zone: ; Task: Promise.then ; Value: Error: Permission denied to access property "then"
[email protected]http://localhost:3000/node_modules/zone.js/dist/zone.js:622:21
scheduleResolveOrReject/<@http://localhost:3000/node_modules/zone.js/dist/zone.js:716:17
[email protected]http://localhost:3000/node_modules/zone.js/dist/zone.js:367:17
[email protected]http://localhost:3000/node_modules/zone.js/dist/zone.js:166:28
[email protected]http://localhost:3000/node_modules/zone.js/dist/zone.js:546:25
ZoneTask/[email protected]http://localhost:3000/node_modules/zone.js/dist/zone.js:424:25
它爲我工作以及..但我想知道什麼是從快速入門頁角文件的問題.. – hstg
沒有與systemjs問題,只是忘記loader.See https://stackoverflow.com/a/42894892/3819736 – sbedulin