zguillez / generator-slimphp

Yeoman generator for backend API development with Slimframework 3 (PHP)
https://zguillez.io
MIT License
6 stars 4 forks source link

Cannot run the yo slimphp #1

Closed lironsher closed 8 years ago

lironsher commented 8 years ago

$ sudo npm install -g generator-slimphp /Users/User/.nvm/versions/node/v5.2.0/lib └── generator-slimphp@0.1.8

$ yo slimphp Error slimphp

You don't seem to have a generator with the name slimphp installed. You can see available generators with npm search yeoman-generator and then install them with npm install [name]. To see the 26 registered generators run yo with the --help option.

zguillez commented 8 years ago

Hi! Try to uninstall the generator and install again, please and get node, npm and yo up-to-date I tested installing the generator and I don´t get any error

I run:

$ sudo npm un -g generator-slimphp $ sudo npm i -g generator-slimphp $ yo slimphp $ ./composer.phar install \ edit the config.php for database connect ** $ grunt serve

image

And the generator runs OK

image

Tell me if you still have the issue