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

deployment fail on railway #247

Open
paulponraj opened this issue Dec 18, 2022 · 1 comment
Open

deployment fail on railway #247

paulponraj opened this issue Dec 18, 2022 · 1 comment

Comments

@paulponraj
Copy link

paulponraj commented Dec 18, 2022

Tried deploying on railwayapp [database from planetscale] entered the variables.
Deployment log
#11 0.719 npm
WARN config production Use --omit=dev instead.

#11 7.670 npm WARN deprecated [email protected]: The subscriptions-transport-ws package is no longer maintained. We recommend you use graphql-ws instead. For help migrating Apollo software to graphql-ws, see https://www.apollographql.com/docs/apollo-server/data/subscriptions/#switching-from-subscriptions-transport-ws For general help using graphql-ws, see https://github.com/enisdenjo/graphql-ws/blob/master/README.md

#11 10.66 npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

#11 11.16 npm WARN deprecated [email protected]: core-js-pure@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js-pure.

#11 12.41
#11 12.41 > [email protected] postinstall
#11 12.41 > npx migrate-mysql
#11 12.41

#11 12.81 npm
WARN config production Use --omit=dev instead.

#11 13.02 Starting Migrate MySQL...

#11 23.03 /app/node_modules/mysql2/promise.js:242
#11 23.03 const createConnectionErr = new Error();
#11 23.03 ^
#11 23.03
#11 23.03 Error: connect ETIMEDOUT
#11 23.03 at Object.createConnection (/app/node_modules/mysql2/promise.js:242:31)
#11 23.03 at Object. (/app/node_modules/migrate-mysql/bin/index.js:52:48)
#11 23.03 at step (/app/node_modules/migrate-mysql/bin/index.js:33:23)
#11 23.03 at Object.next (/app/node_modules/migrate-mysql/bin/index.js:14:53)
#11 23.03 at /app/node_modules/migrate-mysql/bin/index.js:8:71
#11 23.03 at new Promise ()
#11 23.03 at __awaiter (/app/node_modules/migrate-mysql/bin/index.js:4:12)
#11 23.03 at /app/node_modules/migrate-mysql/bin/index.js:47:23
#11 23.03 at Object. (/app/node_modules/migrate-mysql/bin/index.js:146:7)
#11 23.03 at Module._compile (node:internal/modules/cjs/loader:1155:14) {
#11 23.03 code: 'ETIMEDOUT',
#11 23.03 errno: undefined,
#11 23.03 sqlState: undefined
#11 23.03 }

#11 23.05 npm ERR! code 1
#11 23.05 npm ERR! path /app
#11 23.06 npm ERR! command failed
#11 23.06 npm ERR! command sh -c -- npx migrate-mysql
#11 23.06
#11 23.06 npm ERR! A complete log of this run can be found in:
#11 23.06 npm ERR! /root/.npm/_logs/2022-12-18T19_25_11_250Z-debug-0.log

#11 ERROR: executor failed running [/bin/bash -ol pipefail -c npm ci]: exit code: 1


[stage-0 7/10] RUN --mount=type=cache,id=s/df1fb504-706d-4c69-bb15-46b306a0e900-/root/npm,target=/root/.npm npm ci:


executor failed running [/bin/bash -ol pipefail -c npm ci]: exit code: 1

Error: Docker build failed

Another issue: the one click deployment button also not working. Error: it is not available as template

@simonManydata
Copy link

same

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

No branches or pull requests

2 participants