Trouble installing Swagger CodeGen

后端 未结 2 1835
执笔经年
执笔经年 2021-01-03 17:39

I installed Swagger CodeGen using the command

npm install swagger-codegen -g

So I should have it installed, but there is some error/glitch

2条回答
  •  余生分开走
    2021-01-03 17:57

    this module doesn't create an executable file when being installed via npm install swagger-codegen -g, that's why you see the error. Please see https://github.com/swagger-api/swagger-codegen/blob/master/README.md#prerequisites for installation instructions

提交回复
热议问题