aws-samples / aws-samples/appsync-with-postgraphile-rds
deploy fails with Error: spawn npm ENOENT
- Dominant language
- PLpgSQL
- Stars
- 49
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
Got this below error while running deploy. Can you please help to resolve this?
> appsync-with-postgraphile-rds@0.1.0 deploy
> node ./scripts/deploy.mjs --region us-east-1 --proxy <> --sg <> --username <> --database <> --schemas <>
node:events:491
throw er; // Unhandled 'error' event
^
Error: spawn npm ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:478:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
at onErrorNT (node:internal/child_process:478:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn npm',
path: 'npm',
spawnargs: [
'run',
'cdk',
'deploy',
'--',
'-c',
'-O',
'output.json'
]
}
Contributor guide
Assessment
This issue has not been assessed yet.