[ https://issues.apache.org/jira/browse/CB-9687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14941115#comment-14941115 ]
Yuji Yamamoto commented on CB-9687: ----------------------------------- As you might expect naturally, I could avoid this problem by symlink-ing: {code} > 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 {code} > 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 > 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: 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org