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

前端 未结 3 1558
醉梦人生
醉梦人生 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:09

    Default way to run your app, when you use express-generator, is to paste

    DEBUG={appName}:* npm start

    {appName} - is probably your folder name (like for me), anyway, you can find it in your package.json -> "name";

提交回复
热议问题