参考博客 https://codeleading.com/article/30673783757/
"scripts": {
"start": "NODE_ENV=development node ./index.js",
...
}
改为
"scripts": {
"start": "set NODE_ENV=development&&node ./index.js",
...
}
再次运行就可以了
参考博客 https://codeleading.com/article/30673783757/
"scripts": {
"start": "NODE_ENV=development node ./index.js",
...
}
改为
"scripts": {
"start": "set NODE_ENV=development&&node ./index.js",
...
}
再次运行就可以了