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

  • 相关阅读:
    hitachi2020 C-ThREE
    LOJ#2083. 「NOI2016」优秀的拆分
    BZOJ2754: [SCOI2012]喵星球上的点名
    BZOJ4516: [Sdoi2016]生成魔咒
    AtCoder Beginner Contest 146解题报告
    拉格朗日插值复习笔记
    对于求解单峰函数最值问题的探讨
    BZOJ5509: [Tjoi2019]甲苯先生的滚榜
    面试技巧
    性能案例分析 | MAT分析内存泄露
  • 原文地址:https://www.cnblogs.com/Amos-Turing/p/7773800.html
Copyright © 2011-2022 走看看