zoukankan      html  css  js  c++  java
  • Error: Failed to fetch plugin E:_My_File______workMyCodemyCodecordova-workspaceplugman-testMyMath via registry. Probably this is either a connection problem, or plugin spec is incorrect.

    $ cordova plugin add E:\_My_File_____\_workMyCodemyCodecordova-workspaceplugman-testMyMath --save
    Error: Failed to fetch plugin E:_My_File______workMyCodemyCodecordova-workspaceplugman-testMyMath via registry.
    Probably this is either a connection problem, or plugin spec is incorrect.
    Check your connection and plugin name/version/URL.
    Error: cmd: Command failed with exit code 4294963238 Error output:
    npm ERR! addLocal Could not install E:\_My_File_____\_workMyCodemyCodecordova-workspaceplugman-testABCD\_My_File______workMyCodemyCodecordova-wo
    kspaceplugman-testMyMath
    npm ERR! Windows_NT 6.1.7601
    npm ERR! argv "c:\_____Soft______\node\node.exe" "c:\_____Soft______\node\node_modules\npm\bin\npm-cli.js" "install" "E:_My_File______workMy
    odemyCodecordova-workspaceplugman-testMyMath" "--production" "--save"
    npm ERR! node v6.10.0
    npm ERR! npm  v3.10.10
    npm ERR! path E:\_My_File_____\_workMyCodemyCodecordova-workspaceplugman-testABCD\_My_File______workMyCodemyCodecordova-workspaceplugman-testMyM
    th
    npm ERR! code ENOENT
    npm ERR! errno -4058
    npm ERR! syscall open

    npm ERR! enoent ENOENT: no such file or directory, open 'E:\_My_File_____\_workMyCodemyCodecordova-workspaceplugman-testABCD\_My_File______workM
    CodemyCodecordova-workspaceplugman-testMyMath'
    npm ERR! enoent ENOENT: no such file or directory, open 'E:\_My_File_____\_workMyCodemyCodecordova-workspaceplugman-testABCD\_My_File______workM
    CodemyCodecordova-workspaceplugman-testMyMath'
    npm ERR! enoent This is most likely not a problem with npm itself
    npm ERR! enoent and is related to npm not being able to find a file.
    npm ERR! enoent

    npm ERR! Please include the following file with any support request:

    ======================

    在windows 路径应该使用"/" 而不是""  所以插件应该 cordova plugin add E:/_My_File_____/_work/MyCode/myCode/cordova-workspace/plugman-test/MyMath

  • 相关阅读:
    用扑克牌保存文本信息
    计算机网络7--报文交换
    算法——字符串匹配之BM算法
    Head First Python 学习笔记-Chapter3:文件读取和异常处理
    页面登陆框老是乱乱的?banner跨页图片缩小之后总是在側面不能显示主要部分?哈哈~我来帮你忙~~
    happens-before通俗理解
    Eclipse中Git插件还原文件
    集成 Tomcat 插件到 Eclipse 的过程
    深入理解ClassLoader(五)—类的卸载
    使用eclipse远程调试Tomcat的方法
  • 原文地址:https://www.cnblogs.com/Amos-Turing/p/7773800.html
Copyright © 2011-2022 走看看