0
我從2角我的項目更新爲4更新,但沒有成功
我跑:
npm install @angular/[email protected] @angular/[email protected]
@angular/[email protected] @angular/[email protected] @angular/[email protected]
@angular/[email protected] @angular/[email protected] @angular/platform-
[email protected] @angular/[email protected]
@angular/[email protected] @angular/[email protected] [email protected] --save
,然後我有以下問題:
ERROR in [at-loader] ./node_modules/angular2-platform-node/node-platform.d.ts:1:10
TS2305: Module ‘」C:/angular/node_modules//platform-browser」‘ has no exported member ‘AnimationDriver’.
有人可以告訴我,我該怎麼辦?
這是您的節點版本。通過運行node -v和npm -v – Hareesh
驗證您是否至少運行了節點6.9.x和npm 3.xx Hi Hareesh,我通過運行npm -v進行了檢查,結果是3.10.10 – user1938143