cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-10718) createmobilespec instructions incomplete for cordova-common
Date Fri, 30 Jun 2017 01:09:00 GMT


ASF GitHub Bot commented on CB-10718:

GitHub user halton opened a pull request:

    CB-10718: Update instruction

    Please make sure the checklist boxes are all checked before submitting the PR. The checklist
    is intended as a quick reference, for complete details please see our Contributor Guidelines:
    ### Platforms affected
    ### What does this PR do?
    ### What testing has been done on this change?
    ### Checklist
    - [ ] [Reported an issue]( in the JIRA
    - [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file
paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
    - [ ] Added automated test coverage as appropriate for this change.

You can merge this pull request into a Git repository by running:

    $ git pull CB-10718

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #145
commit b66d01e3ce3b50a14846155c5b816dfb164b6c6e
Author: Halton Huo <>
Date:   2017-06-27T07:13:50Z

    CB-10718: Update instruction


> createmobilespec instructions incomplete for cordova-common
> -----------------------------------------------------------
>                 Key: CB-10718
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-mobile-spec
>            Reporter: Shazron Abdullah
>              Labels: triaged
> {code}
> $ ./cordova-mobile-spec/createmobilespec/createmobilespec.js --ios
> Creating project from local git repos. If you have any errors, it may be from missing
> To clone repositories:
>   ./cordova-coho/coho repo-clone -r mobile-spec -r plugin-test-framework -r cli -r lib
-r plugman -r ios -r js -r plugins
>   mkdir cordova-cli/node_modules
>   (cd cordova-lib/cordova-lib/ && npm install)
>   (cd cordova-plugman/ && npm install)
>   mkdir cordova-cli/node_modules
>   ln -s ../../cordova-lib/cordova-lib cordova-cli/node_modules
>   (cd cordova-cli && npm install)
> To update all repositories:
>   ./cordova-coho/coho repo-update
> Checking if you are using master branch of tools
> refs/heads/master
> refs/heads/master
> refs/heads/master
> refs/heads/master
> You are on master branch of tools, checking npm links
> npm links are OK
> Creating project mobilespec...
> module.js:338
>     throw err;
>           ^
> Error: Cannot find module 'ansi'
>     at Function.Module._resolveFilename (module.js:336:15)
>     at Function.Module._load (module.js:278:25)
>     at Module.require (module.js:365:17)
>     at require (module.js:384:17)
>     at Object.<anonymous> (/Users/shazron/Documents/git/apache/cordova-lib/cordova-common/src/CordovaLogger.js:20:12)
>     at Module._compile (module.js:460:26)
>     at Object.Module._extensions..js (module.js:478:10)
>     at Module.load (module.js:355:32)
>     at Function.Module._load (module.js:310:12)
>     at Module.require (module.js:365:17)
> {code}
> It should instruct you to run "npm install" inside cordova-lib/cordova-common as well.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message