Reputation: 979
I ran npm install -g generator-keystone from the root directory in OSX but got the following errors:
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: the module is now available as 'css-select'
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: the module is now available as 'css-what'
When I try and use yo keystone I then get:
-bash: yo: command not found
I did try and update these packages using:
npm update -g minimatch
npm update -g CSSselect
npm update -g CSSwhat
Any advice would be greatly appreciated.
(PS I have Node 4.4.3 and Mongo Shell 3.2.7 installed)
Upvotes: 0
Views: 172
Reputation: 203231
The message you're getting are warnings, not errors. You can ignore them.
It looks like you may have only installed the Keystone generator for Yeoman, but didn't install the yeoman
package itself:
$ npm i yo -g
That should provide the yo
executable (which generally gets installed in /usr/local/bin
).
Upvotes: 1