Unrecognized PORT command

前端 未结 7 2161
离开以前
离开以前 2021-02-14 04:22

In my localhost, running below command

PORT=4080 node server.js

But, it was throwing an unexpected error.

\'PORT\' is no

7条回答
  •  野性不改
    2021-02-14 05:08

    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.

提交回复
热议问题