2017-06-06 61 views
2

所以我克隆jHipster登記,但我得到以下警告:jHipster註冊表不能編譯角度依賴性

npm WARN [email protected] requires a peer of @angular/[email protected]^2.0.0 but none was installed. 
npm WARN [email protected] requires a peer of @angular/[email protected]^2.0.0 but none was installed. 
npm WARN [email protected] requires a peer of @angular/[email protected]^2.0.0 but none was installed. 
npm WARN [email protected] requires a peer of @angular/[email protected]^2.0.0 but none was installed. 

我該如何解決這個問題,所以我可以建?

回答

5

因爲它是一個角項目,克隆jhipster的註冊表項目後,您需要:

  • yarn install(安裝所有的依賴)或npm install,這取決於你使用哪種工具
  • 然後就可以開始註冊表:./mvnw

另一種解決方案:

+1

帕斯卡,它不是關於這個第一個問題,也許我們應該添加這些說明的自述。 –

+1

是完全同意 –

+0

帕斯卡,遺憾的與github上crossposting;你說得對,我不應該那樣做。感謝您的答覆。 – jimboweb