无法在iOS中安装Plugman

时间:2015-05-06 08:26:36

标签: ios cordova cordova-plugins cordova-cli plugman

我想在iOS中安装Plugman来管理Phonegap插件。我在终端使用以下命令。

npm install -g plugman

但我收到以下错误,

strSQL = " SELECT W.wrhID, " & _
         " W.wrhName AS WName " & _
         " FROM tblWarehouse AS W " & _
         " WHERE W.wrhID IN ( " & Forms.frmStockControl.Form.txtwrhIDs & " )"
Set rst = CurrentDb.OpenRecordset(strSQL)
 Do Until rst.EOF
    Dim strlbl$, strlblV$
    For i = 1 To rst.Fields.count
        strlbl = "Me.lblWarehouse" & i
        strlblV = "Me.lblWarehouse" & i
        Me.Controls(strlbl).Caption = rst!WName
        Me.Controls(strlblV).visible = True
    Next
    rst.MoveNext
 Loop

1 个答案:

答案 0 :(得分:2)

我在执行' sudo -s'

后运行命令解决了这个问题
  1. $ sudo -s
  2. $ npm install -g plugman