keystonejs/generator-keystone

Generator not detected after installing generator-keystone package

joeczucha opened this issue · 1 comments

? 'Allo Joe! What would you like to do? Install a generator
? Search npm for generators: keystone
? Here's what I found. Official generator → ෴
  Install one? keystone A KeystoneJS Project Generator for Yeoman
npm WARN deprecated CSSselect@0.4.1: the module is now available as 'css-select'
npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
/Users/joe/.nvm/versions/node/v6.4.0/lib
└── generator-keystone@0.5.1


I just installed a generator by running:

    npm install -g generator-keystone

? 'Allo Joe! What would you like to do?
  Run a generator
  Webapp
  ──────────────
  Update your generators
❯ Install a generator
  Find some help
  Get me out of here!
  ──────────────

I also tried running npm install -g generator-keystone manually. It completes - without errors - but the generator still doesn't appear on the list.

I'm on Sierra (10.12.4), Node v6.4.0, NPM 3.10.3. Let me know if you need anything further.

Thanks in advance :)

Scratch that, Yeoman had installed to my global node_modules but NVM was intercepting the generator installation and putting it in a versioned directory. Once I reinstalled Yeoman into the same directory it found the generator no problem.