cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse MacFadyen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8121) create.js use of module 'valid-identifier' doesn't trigger pretty error
Date Thu, 04 Dec 2014 21:35:12 GMT

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

Jesse MacFadyen commented on CB-8121:
-------------------------------------

npm update or npm install

> create.js use of module 'valid-identifier' doesn't trigger pretty error
> -----------------------------------------------------------------------
>
>                 Key: CB-8121
>                 URL: https://issues.apache.org/jira/browse/CB-8121
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: 4.1.3
>            Reporter: Josh Soref
>
> {quote}
> node    cordova-mobile-spec/createmobilespec/createmobilespec.js --blackberry10
> {quote}
> {quote}
> Creating project from local git repos. If you have any errors, it may be from missing
repositories.
> {quote}
> {quote}
> To clone repositories:
>   ./cordova-coho/coho repo-clone -r mobile-spec -r plugin-test-framework -r cli -r lib
-r plugman -r blackberry10 -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)
> {quote}
> {quote}
> To update all repositories:
>   ./cordova-coho/coho repo-update
> {quote}
> {quote}
> Checking if you are using master branch of tools
> refs/heads/docs-updates
> refs/heads/master
> refs/heads/master
> refs/heads/master
> Using non-master of one or more tools.
> {quote}
> {quote}
> Creating project mobilespec...
> Error: Cannot find module 'valid-identifier'
>     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 Object.<anonymous> (~/Cordova/cordova-lib/cordova-lib/src/cordova/create.js:34:26)
>     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)
>     at Module.require (module.js:364:17)
> {quote}



--
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


Mime
View raw message