Express JS 4.0 command line tool not working

前端 未结 1 1643
[愿得一人]
[愿得一人] 2021-02-01 08:24

I was using express 3.x for some time. The command line tool was working perfectly fine. I decided to update to 4.0 so that I can try it out and make old apps to 4.x compatible.

相关标签:
1条回答
  • 2021-02-01 08:42

    Express 4 seperates the generator from express.

    What you need to do is to run:

    $ npm install -g express-generator
    

    Then it will work.

    0 讨论(0)
提交回复
热议问题