2
Build Error Android
under review
J
Jhon Michael Revilla
Runtime version: 4.9.110;
AB version: 1.7.11
COMMAND:
/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/@appgyver/orchestra-builder/node_modules/rnv/bin/index.jsconfigure -p android -s standalone -c standalone --ci --yes --skipRnvCheck --packageManager yarn --template @appgyver/orchestra-template-standalone@4.9.110 --hooks --npxMode
FAILED with ERROR:
FAILED with ERROR:
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads https://github.com/cjrorvik/react-native-simple-compass.git
Directory: .
Output:
fatal: Unable to read current working directory: No such file or directory
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Command failed with exit code 128: yarn
warning package.json: No license field
warning No license field
warning Resolution field "@babel/types@7.17.12" is incompatible with requested version "@babel/types@^7.22.15"
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads https://github.com/cjrorvik/react-native-simple-compass.git
Directory: .
Output:
fatal: Unable to read current working directory: No such file or directory
yarn install v1.22.19
[1/4] Resolving packages...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
warning package.json: No license field
warning No license field
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads https://github.com/cjrorvik/react-native-simple-compass.git
Directory: .
Output:
fatal: Unable to read current working directory: No such file or directory
Error: Command failed with exit code 128: yarn
warning package.json: No license field
warning No license field
warning Resolution field "@babel/types@7.17.12" is incompatible with requested version "@babel/types@^7.22.15"
warning Resolution field "@babel/types@7.17.12" is incompatible with requested version "@babel/types@^7.23.0"
warning Resolution field "@babel/types@7.17.12" is incompatible with requested version "@babel/types@^7.22.5"
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads https://github.com/cjrorvik/react-native-simple-compass.git
Directory: .
Output:
fatal: Unable to read current working directory: No such file or directory
yarn install v1.22.19
[1/4] Resolving packages...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
at makeError (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/@appgyver/orchestra-builder/node_modules/execa/lib/error.js:60:11)
at handlePromise (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/@appgyver/orchestra-builder/node_modules/execa/index.js:118:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Seems like your node_modules is corrupted by other libs. ReNative will try to fix it for you
[ task ] cleanNodeModules[1]
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
[ task ] installPackageDependencies[2] packageManager:(yarn)
- Executing: yarn
✖ FAILED: yarn
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
[ error ] COMMAND:
yarn
FAILED with ERROR:
Error: ENOENT: no such file or directory, uv_cwd
at process.wrappedCwd [as cwd] (node:internal/bootstrap/switches/does_own_process_state:126:28)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:88756:65
at Generator.next (<anonymous>)
at step (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:310:30)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:328:14
Error: ENOENT: no such file or directory, uv_cwd
at process.wrappedCwd [as cwd] (node:internal/bootstrap/switches/does_own_process_state:126:28)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:88756:65
at Generator.next (<anonymous>)
at step (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:310:30)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:328:14
Error: ENOENT: no such file or directory, uv_cwd
at process.wrappedCwd [as cwd] (node:internal/bootstrap/switches/does_own_process_state:126:28)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:88756:65
at Generator.next (<anonymous>)
at step (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:310:30)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:328:14
Error: Command failed with exit code 1: yarn
Error: ENOENT: no such file or directory, uv_cwd
at process.wrappedCwd [as cwd] (node:internal/bootstrap/switches/does_own_process_state:126:28)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:88756:65
at Generator.next (<anonymous>)
at step (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:310:30)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:328:14
at makeError (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/@appgyver/orchestra-builder/node_modules/execa/lib/error.js:60:11)
at handlePromise (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/@appgyver/orchestra-builder/node_modules/execa/index.js:118:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
[ error ] COMMAND:
yarn
FAILED with ERROR:
Error: ENOENT: no such file or directory, uv_cwd
at process.wrappedCwd [as cwd] (node:internal/bootstrap/switches/does_own_process_state:126:28)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:88756:65
at Generator.next (<anonymous>)
at step (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:310:30)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:328:14
Error: ENOENT: no such file or directory, uv_cwd
at process.wrappedCwd [as cwd] (node:internal/bootstrap/switches/does_own_process_state:126:28)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:88756:65
at Generator.next (<anonymous>)
at step (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:310:30)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:328:14
Error: ENOENT: no such file or directory, uv_cwd
at process.wrappedCwd [as cwd] (node:internal/bootstrap/switches/does_own_process_state:126:28)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:88756:65
at Generator.next (<anonymous>)
at step (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:310:30)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:328:14
Error: Command failed with exit code 1: yarn
Error: ENOENT: no such file or directory, uv_cwd
at process.wrappedCwd [as cwd] (node:internal/bootstrap/switches/does_own_process_state:126:28)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:88756:65
at Generator.next (<anonymous>)
at step (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:310:30)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:328:14
at makeError (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/@appgyver/orchestra-builder/node_modules/execa/lib/error.js:60:11)
at handlePromise (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/@appgyver/orchestra-builder/node_modules/execa/index.js:118:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
┌──────────────────────────────────────────────────────────────────────────────┐
│ 🚀 SUMMARY | 11/13/2023, 4:39:26 AM │
│ $ rnv configure -p android -s standalone -c standalone --ci --yes --skipRnvCheck --packageManager yarn --template @appgyver/orchestra-template-standalone@4.9.110 --hooks --npxMode
├──────────────────────────────────────────────────────────────────────────────┤
│ ReNative Version: 0.36.0-canary.12 │
FAILED with ERROR:
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads https://github.com/cjrorvik/react-native-simple-compass.git
Directory: .
Output:
fatal: Unable to read current working directory: No such file or directory
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Command failed with exit code 128: yarn
warning package.json: No license field
warning No license field
warning Resolution field "@babel/types@7.17.12" is incompatible with requested version "@babel/types@^7.22.15"
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads https://github.com/cjrorvik/react-native-simple-compass.git
Directory: .
Output:
fatal: Unable to read current working directory: No such file or directory
yarn install v1.22.19
[1/4] Resolving packages...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
warning package.json: No license field
warning No license field
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads https://github.com/cjrorvik/react-native-simple-compass.git
Directory: .
Output:
fatal: Unable to read current working directory: No such file or directory
Error: Command failed with exit code 128: yarn
warning package.json: No license field
warning No license field
warning Resolution field "@babel/types@7.17.12" is incompatible with requested version "@babel/types@^7.22.15"
warning Resolution field "@babel/types@7.17.12" is incompatible with requested version "@babel/types@^7.23.0"
warning Resolution field "@babel/types@7.17.12" is incompatible with requested version "@babel/types@^7.22.5"
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads https://github.com/cjrorvik/react-native-simple-compass.git
Directory: .
Output:
fatal: Unable to read current working directory: No such file or directory
yarn install v1.22.19
[1/4] Resolving packages...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
at makeError (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/@appgyver/orchestra-builder/node_modules/execa/lib/error.js:60:11)
at handlePromise (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/@appgyver/orchestra-builder/node_modules/execa/index.js:118:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Seems like your node_modules is corrupted by other libs. ReNative will try to fix it for you
│ [ error ] COMMAND:
yarn
FAILED with ERROR:
Error: ENOENT: no such file or directory, uv_cwd
at process.wrappedCwd [as cwd] (node:internal/bootstrap/switches/does_own_process_state:126:28)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:88756:65
at Generator.next (<anonymous>)
at step (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:310:30)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:328:14
Error: ENOENT: no such file or directory, uv_cwd
at process.wrappedCwd [as cwd] (node:internal/bootstrap/switches/does_own_process_state:126:28)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:88756:65
at Generator.next (<anonymous>)
at step (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:310:30)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:328:14
Error: ENOENT: no such file or directory, uv_cwd
at process.wrappedCwd [as cwd] (node:internal/bootstrap/switches/does_own_process_state:126:28)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:88756:65
at Generator.next (<anonymous>)
at step (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:310:30)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:328:14
Error: Command failed with exit code 1: yarn
Error: ENOENT: no such file or directory, uv_cwd
at process.wrappedCwd [as cwd] (node:internal/bootstrap/switches/does_own_process_state:126:28)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:88756:65
at Generator.next (<anonymous>)
at step (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:310:30)
at /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/yarn/lib/cli.js:328:14
at makeError (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/@appgyver/orchestra-builder/node_modules/execa/lib/error.js:60:11)
at handlePromise (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/@appgyver/orchestra-builder/node_modules/execa/index.js:118:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
│ │
└──────────────────────────────────────────────────────────────────────────────┘

Log In
T
Timo Kapanen
under review
T
Timo Kapanen
Hi Jhon Michael Revilla and thanks for the report. There seems to be some flakiness with Android builds when using 4.9.110 tag. We'll study that. Meanwhile I made 4.9.72 build tag again visible to be used for Android builds if failing with the newer tag.
BR, Timo