Unrecognized PORT command

前端 未结 7 1533
没有蜡笔的小新
没有蜡笔的小新 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条回答
  •  攒了一身酷
    2021-02-14 05:21

    automatically run this port :3000,I tried windows working react

    "devDependencies": {
        "react-scripts": "0.8.4"
      },
      "scripts": {
        "start": "react-scripts start",
        "build": "react-scripts build",
        "test": "react-scripts test --env=jsdom",
        "eject": "react-scripts eject"
      }
    

提交回复
热议问题