Reputation: 105
I'm new in Angular and npm. Today I trying update router in Angular2 from 2.0.0-rc.1
to 3.0.0-alpha.3
. For this, I change version router in root file package.json on "@angular/router": "3.0.0-alpha.3"
and make command 'npm update'. Files in @angular/router
were changed, but now console in browser show error message for my app :
"http://localhost:3000/node_modules/@angular/router/router.umd.js 404 (Not Found)". This file does not exist in the project.
What am I doing wrong?
Upvotes: 1
Views: 316
Reputation: 105
Thanks @rinukkusu
// No umd for router yet is the comment in the SystemJS config file for
packages['@angular/router'] = { main: 'index.js', defaultExtension: 'js' };
Upvotes: 1