1. 程式人生 > >Failed to restore plugin "mx.ferreyra.callnumber" from config.xml.

Failed to restore plugin "mx.ferreyra.callnumber" from config.xml.

錯誤資訊:

Android Studio project detected
Discovered plugin "mx.ferreyra.callnumber" in config.xml. Adding it to the project
Plugin "call-number" already installed on android.
Failed to restore plugin "mx.ferreyra.callnumber" from config.xml. You might need to try adding it again. Error: TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be one of type string or Buffer. Received type object
The "chunk" argument must be one of type string or Buffer. Received type object

解決辦法:

修改檔案:app\package.json

去掉以下兩行:

"mx.ferreyra.callnumber": "0.0.2",

"mx.ferreyra.callnumber": {},

去掉以下兩行:

"call-number": "^1.0.1",

"call-number": {},