Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

error when running the generator for the first time (empty directory) #264

Closed
neslinesli93 opened this issue Oct 2, 2015 · 3 comments
Closed
Labels

Comments

@neslinesli93
Copy link

Hi, I'm using node v4.1.1 and npm v3.3.5.
I tried following the basic intructions on the README and, after installing yo, gulp and bower I run
yo m-ionic and I get the following error:
Couldn't finish generator: CordovaError: Could not find directory: /usr/lib/node_modules/generator-m-ionic/node_modules/cordova-lib/node_modules/cordova-app-hello-world

I tried to move the generator's peerDependency of "yo": ">=1.0.0" inside the dependencies, since npm from version 3 will complain about peer dependencies. Then I tried to change cordova version from 5.2.0 to 5.3.3, but I still get the error

@neslinesli93
Copy link
Author

The problem was npm version: the provided tutorial works for version 2 and is currently broken for version 3.
You can close this issue

@gruppjo gruppjo added the support label Oct 5, 2015
@gruppjo
Copy link
Contributor

gruppjo commented Oct 5, 2015

Hi @neslinesli93, thanks for pointing out how you got it to work!

@gruppjo
Copy link
Contributor

gruppjo commented Nov 3, 2015

For updates on this issue please, follow the issue I just referenced

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants