前端项目实战拾肆-window上‘PORT‘ is not recognized as an internal or external command

mac

"scripts": {
    "dev": "PORT=3005 next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint",
    "test": "jest"
  },

windows

"scripts": {
   
    "start": "craco start -p 4000",
    "build": "craco build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },

posted @ 2023-06-29 09:37  前端导师歌谣  阅读(15)  评论(0)    收藏  举报  来源