I’m trying to make a build environment to make an android app but I haven’t been able to succeed to build the project. The build log is as follows,
Starting Gradle Daemon... Gradle Daemon started in 5 s 673 ms :ReactNative:Running '[node, -e, console.log(require('react-native/cli').bin);]' command failed. FAILURE: Build failed with an exception. * Where: Script 'C:WorkSpaceMyProjectnode_modules@react-native-communitycli-platform-androidnative_modules.gradle' line: 179 * What went wrong: A problem occurred evaluating script. > Cannot run program "node" (in directory "C:WorkSpaceMyProjectandroid"): CreateProcess error=2, ï¿½wï¿½è‚³ï¿½ê‚½ï¿½tï¿½@ï¿½Cï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Ü‚ï¿½ï¿½ï¿½B
It looks exactly same as the link below and I did the same thing but I can’t resolve the problem and the log that it makes is always the same.
reinstall node. delete node modules and clean and run the project again.
I can’t comment so i answered.