ShareChiWai Notes
ShareChiWai Notes
Home
Blog
Menu Venue
Event
Sharing
Contact
Light
Dark
Automatic
NodeJs, Javascript
How to set Environment Variable on NodeJS
###如何設定 NodeJs Environment Variable 解決方法: 可以直接在 command line 設定 set ENV_VARIABLE=9000 && npm start 可以在package.json 上設定 e.g. "scripts": { "start": "set PORT=9000 && yarn run swagger && nodemon --exec babel-node src/index.
Last updated on Feb 17, 2024
1 min read
NodeJs
Cite
×