hiroshinishio / ContractAnalyzer

0 stars 0 forks source link

Bug: my app works fine when i run it locally using heroku local but it does not build correctly on heroku #1

Open hiroshinishio opened 13 hours ago

hiroshinishio commented 13 hours ago

Bug Behavior

my app works fine when i run it locally using the heroku local command but it does not build correctly why i try to deploy on heroku.

Logs

⚠ Compiled with warnings ./nodemodules/.pnpm/https://github.com/zenstackhq+runtime@[2.6.2@prisma](mailto:2.6.2_@prisma)+client@5.19.0prisma@5.19.0/node_modules/@zenstackhq/runtime/enhance.js Module not found: Can't resolve '.zenstack/enhance' in '/tmp/build_d92ca4d0/nodemodules/.pnpm/https://github.com/zenstackhq+runtime@[2.6.2@prisma](mailto:2.6.2_@prisma)+client@5.19.0prisma@5.19.0/node_modules/@zenstackhq/runtime' Import trace for requested module: ./nodemodules/.pnpm/https://github.com/zenstackhq+runtime@[2.6.2@prisma](mailto:2.6.2_@prisma)+client@5.19.0prisma@5.19.0/node_modules/@zenstackhq/runtime/enhance.js ./nodemodules/.pnpm/https://github.com/zenstackhq+runtime@[2.6.2@prisma](mailto:2.6.2_@prisma)+client@5.19.0prisma@5.19.0/node_modules/@zenstackhq/runtime/index.js ./src/core/database/internal/protected.ts ./src/core/database/index.ts ./src/app/api/billing/webhook/stripe/route.ts ./nodemodules/.pnpm/https://github.com/zenstackhq+runtime@[2.6.2@prisma](mailto:2.6.2_@prisma)+client@5.19.0prisma@5.19.0/node_modules/@zenstackhq/runtime/zod/input.js Module not found: Can't resolve '.zenstack/zod/input' in '/tmp/build_d92ca4d0/nodemodules/.pnpm/https://github.com/zenstackhq+runtime@[2.6.2@prisma](mailto:2.6.2_@prisma)+client@5.19.0prisma@5.19.0/node_modules/@zenstackhq/runtime/zod' Import trace for requested module: ./nodemodules/.pnpm/https://github.com/zenstackhq+runtime@[2.6.2@prisma](mailto:2.6.2_@prisma)+client@5.19.0prisma@5.19.0/node_modules/@zenstackhq/runtime/zod/input.js ./src/.marblism/api/routers/Contract.router.ts ./src/.marblism/api/routers/index.ts ./src/server/index.tsx ./src/app/api/trpc/[trpc]/route.ts Linting and checking validity of types ...

./src/designSystem/landing/LandingAvatar.tsx 20:5 Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text

./src/designSystem/landing/LandingRating.tsx 21:7 Warning: aria-description: This attribute is an invalid ARIA attribute. jsx-a11y/aria-props

./src/designSystem/landing/LandingSocialProof.tsx 21:13 Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text

info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules Failed to compile. ./src/.marblism/api/routers/Account.router.ts:14:45 Type error: Property 'AccountInputSchema' does not exist on type 'typeof import("/tmp/build_d92ca4d0/nodemodules/.pnpm/https://github.com/zenstackhq+runtime@[2.6.2@prisma](mailto:2.6.2_@prisma)+client@5.19.0prisma@5.19.0/node_modules/@zenstackhq/runtime/zod/input")'. 12 | return router({ 13 |

14 | createMany: procedure.input($Schema.AccountInputSchema.createMany.optional()).mutation(async ({ ctx, input }) => checkMutate(db(ctx).account.createMany(input as any))), | ^ 15 | 16 | create: procedure.input($Schema.AccountInputSchema.create).mutation(async ({ ctx, input }) => checkMutate(db(ctx).account.create(input as any))), 17 |  ELIFECYCLE  Command failed with exit code 1. -----> Build failed

We're sorry this build is failing! You can troubleshoot common issues here: https://devcenter.heroku.com/articles/troubleshooting-node-deploys

If you're stuck, please submit a ticket so we can help: https://help.heroku.com/

Love, Heroku ! Push rejected, failed to compile Node.js app. ! Push failed

Screenshots

No response

When It Occurred

Oct 2 at 9:51 AM PST

Steps to Reproduce

run the Procfile in the heroku environment

Expected Behavior

project should build successfully and run in heroku

Possible Cause

No response

Device

heroku

OS

linux

Browser

Chrome

Additional Information

No response

gitauto-ai[bot] commented 13 hours ago

Click the checkbox below to generate a PR!

@hiroshinishio, You have 0 requests left in this cycle which refreshes on 2024-11-04 02:56:25+00:00. If you have any questions or concerns, please contact us at info@gitauto.ai.

gitauto-for-dev[bot] commented 13 hours ago

Click the checkbox below to generate a PR!

@hiroshinishio, You have 0 requests left in this cycle which refreshes on 2024-11-05 22:45:17+00:00. If you have any questions or concerns, please contact us at info@gitauto.ai.

gitauto-for-dev[bot] commented 13 hours ago

Sorry, we have an error. Please try again.

Have feedback or need help? Feel free to email info@gitauto.ai.

gitauto-for-dev[bot] commented 13 hours ago

Sorry, we have an error. Please try again.

Have feedback or need help? Feel free to email info@gitauto.ai.