Unrecognized PORT command

前端 未结 7 1577
没有蜡笔的小新
没有蜡笔的小新 2021-02-14 04:43

In my localhost, running below command

PORT=4080 node server.js

But, it was throwing an unexpected error.

\'PORT\' is no

7条回答
  •  旧时难觅i
    2021-02-14 05:22

    Here's a moronic way I found to recreate this problem:

    1. Create a npm based app on one system
    2. check it out on another system
    3. FAIL to run npm install
    4. run npm start

    Receive error described in question.

提交回复
热议问题