我正在尝试使用以下命令升级到 Angular 4 Rc1
npm install @angular/{common,compiler,compiler-cli,core,forms,http,platform-browser,platform-browser-dynamic,platform-server,router,animations}@next --save
这是假设可以转换为角度 4 的命令
https://github.com/angular/angular/blob/master/CHANGELOG.md
但是这个命令给了我一个错误
E:\Softwares\Angular2\Angular2Concepts>npm install @angular/{common,compiler,compiler-cli,core,forms,http,platform-browser,platform-browser-dynamic,platform-server,router,animations}@ne
xt --save
npm ERR! addLocal Could not install E:\Softwares\Angular2\Angular2Concepts\@angular\{common,compiler,compiler-cli,core,forms,http,platform-browser,platform-browser-dynamic,platform-serv
er,router,animations}@next
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "@angular/{common,compiler,compiler-cli,core,forms,http,pla
tform-browser,platform-browser-dynamic,platform-server,router,animations}@next" "--save"
npm ERR! node v7.2.1
npm ERR! npm v3.10.10
npm ERR! path E:\Softwares\Angular2\Angular2Concepts\@angular\{common,compiler,compiler-cli,core,forms,http,platform-browser,platform-browser-dynamic,platform-server,router,animations}@
next
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open 'E:\Softwares\Angular2\Angular2Concepts\@angular\{common,compiler,compiler-cli,core,forms,http,platform-browser,platform-browser-
dynamic,platform-server,router,animations}@next'
npm ERR! enoent ENOENT: no such file or directory, open 'E:\Softwares\Angular2\Angular2Concepts\@angular\{common,compiler,compiler-cli,core,forms,http,platform-browser,platform-browser-
dynamic,platform-server,router,animations}@next'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! E:\Softwares\Angular2\Angular2Concepts\npm-debug.log