You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Xandor Schiefer (JIRA)" <ji...@apache.org> on 2015/09/22 13:25:04 UTC
[jira] [Created] (CB-9687) Cannot create new Cordova project
Xandor Schiefer created CB-9687:
-----------------------------------
Summary: Cannot create new Cordova project
Key: CB-9687
URL: https://issues.apache.org/jira/browse/CB-9687
Project: Apache Cordova
Issue Type: Bug
Components: CLI
Environment: Debian 8 "Jessie" Stable
Node v4.1.0 (installed from this repo: https://deb.nodesource.com/node_4.x)
Npm v3.3.3
Cordova 5.1.1, 5.3.1 & 5.3.2-dev (I tried different versions)
Reporter: Xandor Schiefer
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`
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: https://github.com/meteor/meteor/issues/5006.
Installing `cordova-cli` and `cordova-plugman` from Git instead of Npm (as per https://www.npmjs.com/package/cordova#installing-from-master) also doesn't work (and introduces more problems, actually... In that case the whole `~/src/cordova-cli/node_modules/cordova-lib/node_modules` folder doesn't exist).
--
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