在node文档查不到介绍,运行node后NODE_ENV是undefined,看别人说默认值是development
求解,这个环境变量是哪里来的
PHP中文网2017-04-17 16:08:05
In the terminal, you use the terminal to enter your project directory, and then set export NODE_ENV=test, and then you can get the test value in the code.