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:34:40 UTC

[jira] [Updated] (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:all-tabpanel ]

Dmitry Blotsky updated CB-10703:
--------------------------------
    Description: 
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}

  was:
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)
~/Developer/repositories/lol/CB-10703
{noformat}


> 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