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

  • 相关阅读:
    rabbitmq在centos7下安装
    跨域问题
    11生成器相关及推导式(附内置函数分析图url)
    10函数名的应用,闭包,和迭代器
    09函数的动态传参及global和nonlocal关键字
    08函数简介
    07基本的文件操作
    06set集合和深浅拷贝(包括前面的一些知识点补充)
    05判断和编码/解码
    04基本数据类型(字典)
  • 原文地址:https://www.cnblogs.com/Amos-Turing/p/7773800.html
Copyright © 2011-2022 走看看