Express Gateway

589 Views Asked by At

I'm new to node js, I having a issue with express-gateway I have installed node(V 10.0.0), express(V 4.16.3) & express-gateway.

I'm getting an error: D:\User\Test\Express-Gateway>eg -version 'eg' is not recognized as an internal or external command, operable program or batch file.

as I fire cmd: eg -version or eg express-gateway create

Thanks in advance.

1

There are 1 best solutions below

0
On

In case of a valid installation, you can find a corresponding windows command script (named eg) residing in your node installation folder (e.g.: C:\Program Files\nodejs\eg). Next the windows environment variable PATH has to contain the above mentioned path (in order to check this just run PATH in cmd shell => this will print out the value of PATH, which is a list of file paths seperated by semi colons). If the node.js entry is missing, you can add the path by updating the variable manually.