打开“package.json”在“scripts”属性里面添加
"start": "cross-env PORT=3001 node .output/server/index.mjs"
运行服务
npm run start
此时就启动端口为3001的node服务