Yo keystone not working for Ubuntu server 16.04

619 views Asked by At

I am trying to deploy a keystone app using the MEAN stack. I have installed all other packages. After that I tried to follow these steps mentioned here:

http://keystonejs.com/getting-started/

but when I tried to execute the command

$ yo keystone

It says "yo command is not found"

2

There are 2 answers

1
rsp On

First, you need to have Node installed and npm working.

Then, you need to have yo installed with:

npm i yo -g

You need to make sure that you have the Node's bin directory in the PATH.

And now you can finally use:

yo keystone

but not before that because yo is not installed with Node automatically and Node is not installed with Ubuntu automatically either.

For more info see:

0
Soumitra Mandal On

thanks for the help but I found a help here:

http://truthyfalsey.com/yeoman-working-ubuntu/

I followed the steps and it is working. I hope this was all about environment variable. Now the issue is fixed and now I can run :

$ yo keystone