cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuji Yamamoto (JIRA)" <>
Subject [jira] [Commented] (CB-9687) Cannot create new Cordova project
Date Fri, 02 Oct 2015 13:16:27 GMT


Yuji Yamamoto commented on CB-9687:

As you might expect naturally, I could avoid this problem by symlink-ing:

> sudo mkdir -p /usr/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/
> sudo ln -s /usr/lib/node_modules/cordova/node_modules/cordova-app-hello-world /usr/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/
> cordova create hello com.example.hello HelloWorld
Creating a new cordova project.
> cd hello/
> ls
config.xml  hooks  platforms  plugins  www

> Cannot create new Cordova project
> ---------------------------------
>                 Key: CB-9687
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>         Environment: Debian 8 "Jessie" Stable
> Node v4.1.0 (installed from this repo:
> Npm v3.3.3
> Cordova 5.1.1, 5.3.1 & 5.3.2-dev (I tried different versions)
>            Reporter: Xandor Schiefer
>            Priority: Blocker
> I cannot create a Cordova project using `cordova create hello`. I get the 
> following error:
> {quote}
> Could not find directory: /usr/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/cordova-app-hello-world
> {quote}
> `cordova-app-hello-world` is actually located at `/usr/lib/node_modules/cordova/node_modules/cordova-app-hello-world`.
> It's worth noting that the whole `/usr/lib/node_modules/cordova/node_modules/cordova-lib/node_modules`
folder doesn't exist.
> I ran `sudo npm install -g --reinstall cordova` with no change in behaviour.
> If I uninstall cordova and reinstall using `sudo npm install -g cordova@5.1.1` I get
the same error
> It's also affecting other users, see here one user that's trying to add Android as a
platform to Meteor:
> Installing `cordova-cli` and `cordova-plugman` from Git instead of Npm (as per
also doesn't work.

This message was sent by Atlassian JIRA

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

View raw message