2017-08-31 22 views
0

我正在嘗試製作ionic2應用程序。但npm不支持。它總是給我這個錯誤。 enter image description here找不到模塊'har-schema'

+0

你是什麼意思的「但故宮是不支持」嗎? – undefined

+0

@ram npm給出錯誤「找不到模塊'har-schema'」。 你可以檢查上面的圖像。 –

回答

0

嘗試安裝NPM的前一個版本:

npm install [email protected] -g 

可惜的是,目前的版本(5.3)有很多錯誤。

+0

我試過你的解決方案。但同樣的問題仍然存在。 –

+0

你有沒有檢查過,你有'npm -v' ==='5.2'? – Lazyexpert

+0

我有npm -v === 4.1.2 –

0

這爲我工作:

npm install -g --only=production --save har-schema