Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Deployment to heroku failed #513

Open
altkriz opened this issue Jan 19, 2024 · 0 comments
Open

Deployment to heroku failed #513

altkriz opened this issue Jan 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@altkriz
Copy link

altkriz commented Jan 19, 2024

✔ Generated Prisma Client (4.16.2 | library) to ./../node_modules/@prisma/client in 201ms
You can now start using Prisma Client in your code. Reference: https://pris.ly/d/client
import { PrismaClient } from '@prisma/client' const prisma = new PrismaClient()
$ rimraf dist && eslint -c .eslintrc.js --ext .ts . && tsc
../node_modules/@prisma/client/runtime/index.d.ts(2992,182): error TS1005: '?' expected.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 2
Command: /tmp/build_8cd32440/.heroku/node/bin/node
Arguments: /tmp/build_8cd32440/.heroku/yarn/lib/cli.js run build
Directory: /tmp/build_8cd32440/api
Output:
info Visit https://yarnpkg.com/en/docs/cli/workspaces for documentation about this command.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
-----> Build failed

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

A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@altkriz altkriz added the bug Something isn't working label Jan 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant