> dotenv -e .env.development react-app-rewired build
'dotenv' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-admin@0.1.0 build:dev: `dotenv -e .env.development react-app-rewired build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-admin@0.1.0 build:dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\86183\AppData\Roaming\npm-cache\_logs\2022-01-12T08_13_50_020Z-debug.log
运行此命令
npm install dotenv-cli --save-dev