我使用的是Angular 2.0.0-alpha.30版本.当重定向到不同的路由,然后刷新浏览器,它显示无法GET /路由.
你能帮我弄清楚这个错误发生的原因吗?
错误信息
VM556 angular2-polyfills.js:349错误:必须定义令牌!(...)
要么
错误TS2305:模块'"/ node_modules/angular2/router"'没有导出成员'LocationStrategy'.
错误TS2305:模块'"/ node_modules/angular2/router"'没有导出成员'HashLocationStrategy'.
错误TS2305:模块'"/ node_modules/angular2/router"'没有导出的成员'Location'.
怎么修