Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[recnet-api][v1.0.1] Change pnpx to npx in db migration boostrap #168

Merged
merged 3 commits into from
Mar 12, 2024

Conversation

joannechen1223
Copy link
Collaborator

Description

Hot fix:
Change pnpx to npx in db migration boostrap

Related Issue

Deployment error

Mar 12 04:23:12 ip-172-31-32-21 web[11866]: /bin/sh: line 1: pnpx: command not found
Mar 12 04:23:12 ip-172-31-32-21 web[11842]: node:internal/errors:865
Mar 12 04:23:12 ip-172-31-32-21 web[11842]:  const err = new Error(message);
Mar 12 04:23:12 ip-172-31-32-21 web[11842]:              ^
Mar 12 04:23:12 ip-172-31-32-21 web[11842]: Error: Command failed: export PRISMA_DATABASE_URL=postgresql://ebroot:RecnetC0rnell!@awseb-e-2fcqq6y3np-stack-awsebrdsdatabase-xd435d7apryn.cbk0y6qmi8di.us-east-2.rds.amazonaws.com:5432/ebdb?schema=recnet && pnpx prisma migrate deploy --schema=prisma/schema.prisma
Mar 12 04:23:12 ip-172-31-32-21 web[11842]:    at checkExecSyncError (node:child_process:890:11)
Mar 12 04:23:12 ip-172-31-32-21 web[11842]:    at execSync (node:child_process:962:15)
Mar 12 04:23:12 ip-172-31-32-21 web[11842]:    at Proxy.onModuleInit (/var/app/current/dist/apps/recnet-api/main.js:297:42)
Mar 12 04:23:12 ip-172-31-32-21 web[11842]:    at async Promise.all (index 0)
Mar 12 04:23:12 ip-172-31-32-21 web[11842]:    at async callModuleInitHook (/var/app/current/dist/apps/recnet-api/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/@nestjs/core/hooks/on-module-init.hook.js:43:5)
Mar 12 04:23:12 ip-172-31-32-21 web[11842]:    at async NestApplication.callInitHook (/var/app/current/dist/apps/recnet-api/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/@nestjs/core/nest-application-context.js:223:13)
Mar 12 04:23:12 ip-172-31-32-21 web[11842]:    at async NestApplication.init (/var/app/current/dist/apps/recnet-api/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/@nestjs/core/nest-application.js:100:9)
Mar 12 04:23:12 ip-172-31-32-21 web[11842]:    at async NestApplication.listen (/var/app/current/dist/apps/recnet-api/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/@nestjs/core/nest-application.js:169:33)
Mar 12 04:23:12 ip-172-31-32-21 web[11842]:    at async bootstrap (/var/app/current/dist/apps/recnet-api/main.js:433:5) {
Mar 12 04:23:12 ip-172-31-32-21 web[11842]:  status: 127,
Mar 12 04:23:12 ip-172-31-32-21 web[11842]:  signal: null,
Mar 12 04:23:12 ip-172-31-32-21 web[11842]:  output: [ null, null, null ],
Mar 12 04:23:12 ip-172-31-32-21 web[11842]:  pid: 11866,
Mar 12 04:23:12 ip-172-31-32-21 web[11842]:  stdout: null,
Mar 12 04:23:12 ip-172-31-32-21 web[11842]:  stderr: null
Mar 12 04:23:12 ip-172-31-32-21 web[11842]: }

Notes

N/A

TODO

N/A

@joannechen1223 joannechen1223 requested a review from swh00tw March 12, 2024 04:46
@joannechen1223 joannechen1223 self-assigned this Mar 12, 2024
Copy link

vercel bot commented Mar 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rec-net ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 12, 2024 4:50am

@joannechen1223 joannechen1223 merged commit 7a88c74 into master Mar 12, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants