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

ASF subversion and git services commented on CB-5343:
-----------------------------------------------------

Commit 63228c116fbc7d821ecb1af762fe30e4084c3c0e in branch refs/heads/master 
from [~jsoref]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=63228c1 ]

CB-5343 Tell people to run npm install when requirements are missing


> Tell people to run npm install when requirements are missing
> ------------------------------------------------------------
>
>                 Key: CB-5343
>                 URL: https://issues.apache.org/jira/browse/CB-5343
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.1.0
>            Reporter: Josh Soref
>            Assignee: Josh Soref
>            Priority: Minor
>
> If you run clone cordova-cli and then try running bin/cordova today, you get:
> module.js:340
>     throw err;
>           ^
> Error: Cannot find module 'optimist'
>     at Function.Module._resolveFilename (module.js:338:15)
>     at Function.Module._load (module.js:280:25)
>     at Module.require (module.js:364:17)
>     at require (module.js:380:17)
>     at new CLI (/Users/jsoref/Cordova/cordova-cli/src/cli.js:21:21)
>     at Object.<anonymous> 
> (/Users/jsoref/Cordova/cordova-cli/bin/cordova:41:16)
>     at Module._compile (module.js:456:26)
>     at Object.Module._extensions..js (module.js:474:10)
>     at Module.load (module.js:356:32)
>     at Function.Module._load (module.js:312:12)
> which is rather unhelpful....



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to