当我尝试运行命令时: react-native run-android 我得到了这个错误: Scanning folders for symlinks in /home/x/myApp/node_modulesERROR: JAVA_HOME is not set and no 'java' command could be
found in your PATH.Please set the JAVA_HOME variable in your envi
我在chef中有下面的代码,我想要设置JAVA_HOME,但只有在它还没有设置的情况下。当我运行下面的代码时,它显示它运行成功,但没有设置java_home。如果我手动运行,则java_home命令设置正确。
即使我删除了not,如果它运行时没有错误,但没有设置JAVA_HOME。bash 'set_JAVA_HOME' do