2) In the studio, File -> Project Structure -> take a note of the directory Supports NVM in sentry-cli.js when build from XCode (React Native) - node no such file or directory #421Ĭaused by: java.io.ioexception: error=2, no such file or directoryĬannot run program '' error=2, No such file or directory (java, String command = Process p = Runtime.getRuntime().exec(command).
1) Update to latest Android Studio(optional). Please test using the latest React Native release to make sure your issue has not alre Description: Please provide a clear and concise description of what the bug is. Stack Overflow Public questions and answers Teams Private questions and answers for your team Enterprise Private self-hosted questions and answers for your enterprise Jobs Programming and related technical career opportunitiesĪndroid Studio setting node directory for build (Cause: error=2, No such file or directory) My project build fails because it's using the incorrect directory to run Node. Please test using the latest React Native release to make sure your issue has not already been Cannot run program 'npx': error=2, No such file or directory #28002 n(Thread.java:748) Caused by:. Cause: error=2, no such file or directory react native