You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the latest Preflight test runs failed with the error The "options.uid" property must be int32. Received type number (NaN):
(node:1) ExperimentalWarning: Type Stripping is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Cloning https://github.com/LrDevEng/next-ecommerce-store...
Installing dependencies...
Setting up PostgreSQL database...
file:///preflight/node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6
return new ErrorClass(message, options);
^
ExecaError: Command failed with ERR_INVALID_ARG_TYPE: bash ./scripts/alpine-postgresql-setup-and-start.sh
The "options.uid" property must be int32. Received type number (NaN)
at getFinalError (file:///preflight/node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9)
at makeError (file:///preflight/node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16)
at makeEarlyError (file:///preflight/node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:45:7)
at handleEarlyError (file:///preflight/node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/early-error.js:21:21)
at spawnSubprocessAsync (file:///preflight/node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:80:10)
at execaCoreAsync (file:///preflight/node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:26:32)
... 2 lines matching cause stack trace ...
at file:///preflight/clone-and-preflight.ts:74:5 {
shortMessage: 'Command failed with ERR_INVALID_ARG_TYPE: bash ./scripts/alpine-postgresql-setup-and-start.sh\n' +
'The "options.uid" property must be int32. Received type number (NaN)',
originalMessage: 'The "options.uid" property must be int32. Received type number (NaN)',
command: 'bash ./scripts/alpine-postgresql-setup-and-start.sh',
escapedCommand: 'bash ./scripts/alpine-postgresql-setup-and-start.sh',
cwd: '/preflight/project-to-check',
durationMs: 3.228265,
failed: true,
timedOut: false,
isCanceled: false,
isGracefullyCanceled: false,
isTerminated: false,
isMaxBuffer: false,
isForcefullyTerminated: false,
code: 'ERR_INVALID_ARG_TYPE',
stdio: [ undefined, undefined, undefined ],
ipcOutput: [],
pipedFrom: [],
[cause]: TypeError [ERR_INVALID_ARG_TYPE]: The "options.uid" property must be int32. Received type number (NaN)
at normalizeSpawnArguments (node:child_process:586:11)
at spawn (node:child_process:754:13)
at spawnSubprocessAsync (file:///preflight/node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:78:16)
at execaCoreAsync (file:///preflight/node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:26:32)
at callBoundExeca (file:///preflight/node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/create.js:44:5)
at boundExeca (file:///preflight/node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/create.js:15:44)
at file:///preflight/clone-and-preflight.ts:74:5 {
code: 'ERR_INVALID_ARG_TYPE'
}
}
Node.js v22.9.0
This appears to be coming from this uid being passed here, calculated from Number(await execa`id -u postgres`):
One of the latest Preflight test runs failed with the error
The "options.uid" property must be int32. Received type number (NaN)
:This appears to be coming from this
uid
being passed here, calculated fromNumber(await execa`id -u postgres`)
:preflight/docker/clone-and-preflight.ts
Lines 56 to 74 in d3fbfd0
We need to investigate why the
postgres
user does not return anid
- maybe the user doesn't exist?The text was updated successfully, but these errors were encountered: