• cordova 报错信息


    E:cordova>cordova create hello com.example.hello HelloWorld
    Creating a new cordova project.
    Error: Uncaught, unspecified "error" event. ( Error from Cordova Fetch: Error:
    cmd: Command failed with exit code 4294963238 Error output:
    npm ERR! not a package C:UsersAdministratorAppDataRoaming pm ode_modulesc
    ordova ode_modules\_cordova-app-hello-world@3.12.0@cordova-app-hello-worldinde
    x.js
    npm ERR! addLocal Could not install C:UsersAdministratorAppDataRoaming pm
    ode_modulescordova ode_modules\_cordova-app-hello-world@3.12.0@cordova-app-hel
    lo-worldindex.js
    npm ERR! Windows_NT 6.1.7601
    npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\
    node_modules\npm\bin\npm-cli.js" "install" "C:\Users\Administrator\AppData
    \Roaming\npm\node_modules\cordova\node_modules\_cordova-app-hello-world@3.
    12.0@cordova-app-hello-world\index.js"
    npm ERR! node v6.11.2
    npm ERR! npm v3.10.10
    npm ERR! path C:UsersADMINI~1AppDataLocalTemp pm-6620-f151705cunpack-5182
    44fdpackage.json
    npm ERR! code ENOENT
    npm ERR! errno -4058
    npm ERR! syscall open

    npm ERR! enoent ENOENT: no such file or directory, open 'C:UsersADMINI~1AppDa
    taLocalTemp pm-6620-f151705cunpack-518244fdpackage.json'
    npm ERR! enoent ENOENT: no such file or directory, open 'C:UsersADMINI~1AppDa
    taLocalTemp pm-6620-f151705cunpack-518244fdpackage.json'
    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:
    npm ERR! C:UsersAdministrator.cordova ode_modules pm-debug.log)

  • 相关阅读:
    Gyp语法规则参考 & 工具的使用
    从源码编译Chrome(chromium)
    Oracle 高版本导出到低版本的测试验证
    CentOS7 安装Oracle11g的过程.
    Rhino 使 JavaScript 应用程序更灵动(转载)
    javascript与java的相互调用,纯java的javascript引擎rhino(转载)
    Template Method Design Pattern in Java
    Chain Of Responsibility Design Pattern Example
    设计模式之状态模式
    设计模式之装饰者模式
  • 原文地址:https://www.cnblogs.com/geekjsp/p/7462772.html
Copyright © 2020-2023  润新知