3

I am following one article related to a Swagger.

https://github.com/swagger-api/swagger-node

Section: Your swagger API in five steps

I install Swagger with npm using -g command. However, I am not able to fire command related to Swagger. It shows me error saying 'swagger' is not recognized as an internal or external command, operable program or batch file.

Alpesh Prajapati
  • 1,593
  • 2
  • 18
  • 38
  • Due to not having admin rights, I was facing this problem. Hence, closing it. – Alpesh Prajapati Sep 20 '16 at 09:31
  • 1
    Though I have set path variable having 'c:/.../Roaming/npm', I was unable to fire swagger commands. Then I am manually setting path 'set "PATH=%PATH%;C:\Users\...\Roaming\npm" ' whenever i open cmd. – Alpesh Prajapati Sep 21 '16 at 05:22

0 Answers0