【问题标题】:Ionic 3 Failed to restore "com.attendee.barcodegenerator" in config.xmlIonic 3 无法在 config.xml 中恢复“com.attendee.barcodegenerator”
【发布时间】:2018-04-12 19:14:27
【问题描述】:

在 Ionic 项目中,我删除了之前附加的附件。但是当我构建项目时,我得到了一个错误。我在下面提到了错误。我找不到解决方案。我删除了Config.xml中必要的地方,但是重建时又添加了这行。我很高兴您找到了解决问题的方法。谢谢

Discovered plugin "com.attendee.barcodegenerator" in config.xml. Adding it to the project

Failed to restore plugin "com.attendee.barcodegenerator" from config.xml. You might need to try adding it again. Error: Failed to fetch plugin com.attendee.barcodegenerator@~0.0.4 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: npm: Command failed with exit code 1 Error output:
npm ERR! code E404
npm ERR! 404 Not Found: com.attendee.barcodegenerator@~0.0.4

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/CAN/.npm/_logs/2017-10-31T14_51_47_381Z-debug.log

<plugin name="com.attendee.barcodegenerator" spec="~0.0.4" />

【问题讨论】:

    标签: angular typescript ionic-framework ionic2 ionic3


    【解决方案1】:

    你只需要这样做:

    cordova plugin remove cordova-barcode-generator --save
    

    【讨论】:

    • “错误:项目中不存在插件“cordova-barcode-generator”。请参阅cordova plugin list。“我得到了这个结果
    • 结果如何?
    • 当我写你的命令时,它给了我刚刚写的评论的结果
    • 是的,输入cordova plugin list 并将结果显示给我们。
    • 他只是给了我一句话。 com.attendee.barcodegenerator 0.0.4 "条码生成器"
    猜你喜欢
    • 2019-01-30
    • 1970-01-01
    • 1970-01-01
    • 2019-07-11
    • 2018-06-11
    • 1970-01-01
    • 1970-01-01
    • 2018-08-18
    • 2016-06-14
    相关资源
    最近更新 更多