You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Dmitry Blotsky (JIRA)" <ji...@apache.org> on 2016/03/08 23:35:40 UTC

[jira] [Commented] (CB-10703) cordova-lib fails to install on NPM@3.3.12

    [ https://issues.apache.org/jira/browse/CB-10703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15185973#comment-15185973 ] 

Dmitry Blotsky commented on CB-10703:
-------------------------------------

Edited to add the output.

> cordova-lib fails to install on NPM@3.3.12
> ------------------------------------------
>
>                 Key: CB-10703
>                 URL: https://issues.apache.org/jira/browse/CB-10703
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>            Reporter: Dmitry Blotsky
>              Labels: triaged, wfc
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Make sure you have Node@~4 and NPM@~2. Then, run:
> {noformat}
> mkdir CB-10703
> cd CB-10703
> export HERE=`pwd`
> export npm_config_prefix=$HERE
> export NPM=$HERE/node_modules/.bin/npm
> npm install npm@3.7.3
> git clone https://git-wip-us.apache.org/repos/asf/cordova-js.git
> git clone https://git-wip-us.apache.org/repos/asf/cordova-lib.git
> pushd cordova-js; $NPM install; $NPM link; popd
> pushd cordova-lib/cordova-common; $NPM install; $NPM link; popd
> pushd cordova-lib/cordova-serve; $NPM install; $NPM link; popd
> pushd cordova-lib/cordova-lib; $NPM link cordova-js; $NPM link cordova-common; $NPM install; popd
> {noformat}
> Output:
> {noformat}
> npm WARN EPACKAGEJSON cordova-lib@6.0.1-dev No license field.
> npm ERR! Windows_NT 10.0.10586
> npm ERR! argv "c:\\Program Files (x86)\\nodejs\\node.exe" "c:\\CB-10703\\node_modules\\npm\\bin\\npm-cli.js" "install"
> npm ERR! node v0.12.9
> npm ERR! npm  v3.3.12
> npm ERR! path c:\CB-10703\cordova-lib\cordova-lib\node_modules\escodegen\node_modules\esprima\bin\esparse.js
> npm ERR! code ENOENT
> npm ERR! errno -4058
> npm ERR! enoent ENOENT, chmod 'c:\CB-10703\cordova-lib\cordova-lib\node_modules\escodegen\node_modules\esprima\bin\esparse.js'
> 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:\CB-10703\cordova-lib\cordova-lib\npm-debug.log
> Signal 112 (core dumped)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org