我想--save NG2的自舉Angular2:未滿足PEER DEPENDENCY
但我得到以下控制檯錯誤和警告在Angular2安裝使用NPM引導與此命令
NPM安裝
+-- UNMET PEER DEPENDENCY @angular/[email protected] +-- UNMET PEER DEPENDENCY @angular/[email protected] +-- UNMET PEER DEPENDENCY @angular/[email protected] +-- UNMET PEER DEPENDENCY @angular/[email protected] +-- [email protected] `-- UNMET PEER DEPENDENCY [email protected]^1.9.11 npm WARN optional Skipping failed optional dependency /chokidar/fsevents: npm WARN notsup Not compatible with your operating system or architecture: [email protected] npm WARN [email protected] requires a peer of [email protected]^1.9.11 but none was installed. npm WARN [email protected] requires a peer of @angular/[email protected] but none was installed. npm WARN [email protected] requires a peer of @angular/[email protected] but none was installed. npm WARN [email protected] requires a peer of @angular/[email protected] but none was installed. npm WARN [email protected] requires a peer of @angular/[email protected] but none was installed.
您使用的角度CLI ? – Chrillewoodz
是的,我正在使用Angular CLI – deen
使用最新的webpack版本?測試版13我認爲這是? github上有一個關於此問題的開放性問題,您在安裝CLI時遇到未滿足的對等關係。不知道他們是否可以連接。 – Chrillewoodz