Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reactjs 错误与';REACT_APP_API_BASE';未被识别为内部或外部命令、可操作程序或批处理文件_Reactjs_React Native - Fatal编程技术网

Reactjs 错误与';REACT_APP_API_BASE';未被识别为内部或外部命令、可操作程序或批处理文件

Reactjs 错误与';REACT_APP_API_BASE';未被识别为内部或外部命令、可操作程序或批处理文件,reactjs,react-native,Reactjs,React Native,当我执行命令REACT\u APP\u API\u BASE时=https://ip/api 在Linux系统上启动它工作正常,我可以访问应用程序的前端,但同一命令在windows上不起作用,并抛出错误“'REACT_APP_API_BASE'未被识别为内部或外部命令, 可操作的程序或批处理文件。“在windows中如何使用相同的命令-您使用的是什么shellCmd.exe?动力地狱?Git bash?是的,我正在使用cmd.exe我试过了,但对我不起作用我不知道我是否正确C:\abc>cmd/

当我执行命令REACT\u APP\u API\u BASE时=https://ip/api 在Linux系统上启动它工作正常,我可以访问应用程序的前端,但同一命令在windows上不起作用,并抛出错误“'REACT_APP_API_BASE'未被识别为内部或外部命令,
可操作的程序或批处理文件。“在windows中如何使用相同的命令-

您使用的是什么shell<代码>Cmd.exe?动力地狱?Git bash?是的,我正在使用cmd.exe我试过了,但对我不起作用我不知道我是否正确C:\abc>cmd/V/C“set EDITOR=vim&&echo!EDITOR!”vim vim vim C:\abc>cmd/V/C“set REACT\u APP\u API\u BASE=Thread start/