Supervisor node .js “Program node app exited with code 0” error

前端 未结 3 1561
醉梦人生
醉梦人生 2020-12-29 13:59

When I install an express scaffold app

express

Then run the npm install

npm install

and then run supervis

3条回答
  •  借酒劲吻你
    2020-12-29 14:33

    Thanks for the best answer, finally this works for me:

    "main": "./bin/www",
    "scripts": {
       "start": "node ./bin/www"
    }
    

提交回复
热议问题