node.js, Error: Cannot find module 'express'

后端 未结 18 1935
情话喂你
情话喂你 2020-12-02 08:57

I am new to Node.js, try to learn express to build my first web application. I got stuck on my very first sample code and need some help to get it running. Before I post th

18条回答
  •  广开言路
    2020-12-02 09:21

    It says

     Cannot find module 'express'
    

    Do you have express installed?If not then run this.

     npm install express
    

    And run your program again.

提交回复
热议问题