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

后端 未结 18 1876
情话喂你
情话喂你 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:26

    Digging up an old thread here BUT I had this same error and I resolved by navigating to the directory my NodeApp resides in and running npm install -d

提交回复
热议问题