ARTICLE AD BOX
Your Android build is failing because the Gradle config is pointing to a macOS Node.js path:
/Users/mylogtech/.nvm/versions/node/v22.4.0/bin/nodeBut your project is being built on Windows:
D:\LogsafeProjects\logsafe-hr\So Gradle cannot find Node there.
Fix
Open:
android/gradle.propertiesLook for:
NODE_BINARY=/Users/mylogtech/.nvm/versions/node/v22.4.0/bin/nodeReplace it with your Windows Node path.
Example:
NODE_BINARY=C:\\Program Files\\nodejs\\node.exeor:
NODE_BINARY=C:\\Users\\YOUR_USERNAME\\AppData\\Roaming\\nvm\\v22.4.0\\node.exe(depending on how Node is installed).
Find your actual Node path
Run this in Command Prompt:
where nodeExample output:
C:\Program Files\nodejs\node.exeUse that exact path in gradle.properties.
