我想創建一個應用程序使用Apache Cordova,我努力安裝它。 最後,當一切工作就好了,我試圖添加一個插件,使用此命令:Apache Cordova無法加載插件
C:\hello>cordova plugin add org.apache.cordova.console
然後出現以下消息:
Fetching plugin "org.apache.cordova.console" via plugin registry
一會兒一個錯誤出現後:
Error: Failed to fetch package information for org.apache.cordova.console
at C:\Users\pc\AppData\Roaming\npm\node_modules\cordova\node_modules\plugman
\src\registry\registry.js:32:20
at Request.cb [as _callback] (C:\Users\pc\AppData\Roaming\npm\node_modules\c
ordova\node_modules\plugman\src\registry\registry.js:251:9)
at self.callback (C:\Users\pc\AppData\Roaming\npm\node_modules\cordova\node_
modules\plugman\node_modules\request\index.js:148:22)
at Request.EventEmitter.emit (events.js:117:20)
at ClientRequest.self.clientErrorHandler (C:\Users\pc\AppData\Roaming\npm\no
de_modules\cordova\node_modules\plugman\node_modules\request\index.js:257:10)
at ClientRequest.EventEmitter.emit (events.js:95:17)
at Socket.socketErrorListener (http.js:1547:9)
at Socket.EventEmitter.emit (events.js:95:17)
at net.js:440:14
at process._tickCallback (node.js:415:13)
我的傢伙有什麼問題? –