Closed pmilaszewski closed 4 weeks ago
i got a same problem, macos nodejs 20
i got a same problem, macos nodejs 20
zhuhaitao@zhuhaitaodeMacBook-Pro DashcamMobileApp % pnpm build:development:ios
dashcammobileapp@0.0.1 build:development:ios /Users/zhuhaitao/Desktop/projects/DashcamMobileApp cross-env APP_ENV=development EXPO_NO_DOTENV=1 eas build --profile development --platform ios
node:events:492 throw er; // Unhandled 'error' event ^
Error: spawn eas ENOENT at ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:484:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) Emitted 'error' event on ChildProcess instance at: at ChildProcess._handle.onexit (node:internal/child_process:292:12) at onErrorNT (node:internal/child_process:484:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -2, code: 'ENOENT', syscall: 'spawn eas', path: 'eas', spawnargs: [ 'build', '--profile', 'development', '--platform', 'ios' ] }
Node.js v20.10.0
Summary:
when trying to use
build:development:ios
orbuild:development:android
on fresh starter it fails with error:Steps to reproduce:
create new project run
build:development:ios
orbuild:development:android
Expected behavior:
should start metro with QR code to scan and install app on real device