2017-02-21 214 views
0

我試圖通過運行我離子應用我的Android設備「離子運行Android」的昨天它的工作不錯,但一天我得到的錯誤可能有人幫助我錯誤與科爾多瓦建設

Error: running one or more of platforms: Error Cannot find module"cordova-lib/src/cprdpva/platform_metadata" 
You may not have the required environment or OS to run this project 

的事情,我有試過。

  1. 即將移除安裝在我的移動 2更新NPM 3 NPM緩存清理

我離子信息

Cordova CLI: 4.2.0 
Ionic Framework Version: 2.0.0 
Ionic CLI Version: 2.2.1 
Ionic App Lib Version: 2.2.0 
Ionic App Scripts Version: 1.0.0 
ios-deploy version: Not installed 
ios-sim version: Not installed 
OS: Windows 8.1 
Node Version: v6.9.5 
Xcode version: Not installed 

enter image description here

回答

0

你笑舊的應用程序請將您的cordova cli版本更新至最新版本。我相信他們現在在6.5.0。他們已經移動了平臺模塊,我想離子是指這個。

+0

確定好像npm install -g [email protected] –

+0

沒用@PierreDuc –