Coder Social home page Coder Social logo

Database_URL on Yarn Build about void HOT 4 CLOSED

alphanecron avatar alphanecron commented on July 23, 2024
Database_URL on Yarn Build

from void.

Comments (4)

AlphaNecron avatar AlphaNecron commented on July 23, 2024

Just ignore it, that does not matter. It's a bug which will be fixed in v1.

from void.

MayhemBill avatar MayhemBill commented on July 23, 2024

it does matter as I cannot login because of it
when I try to login I get this error:

PrismaClientInitializationError:
Invalid `prisma.user.findFirst()` invocation:


  Database `voiduploader.public` does not exist on the database server at `localhost:5432`.
    at Object.request (/home/pi/6tbdata/Void/node_modules/@prisma/client/runtime/index.js:39815:15)
    at async PrismaClient._request (/home/pi/6tbdata/Void/node_modules/@prisma/client/runtime/index.js:40637:18)
    at async handler (/home/pi/6tbdata/Void/.next/server/pages/api/auth/login.js:30:16)
    at async Object.apiResolver (/home/pi/6tbdata/Void/node_modules/next/dist/server/api-utils.js:101:9)
    at async Server.handleApiRequest (/home/pi/6tbdata/Void/node_modules/next/dist/server/next-server.js:775:9)
    at async Object.fn (/home/pi/6tbdata/Void/node_modules/next/server/next-server.ts:985:24)
    at async Router.execute (/home/pi/6tbdata/Void/node_modules/next/server/router.ts:346:21)
    at async Server.run (/home/pi/6tbdata/Void/node_modules/next/server/next-server.ts:1239:20)
    at async Server.handleRequest (/home/pi/6tbdata/Void/node_modules/next/dist/server/next-server.js:292:20) {
  clientVersion: '3.10.0',
  errorCode: undefined
}

from void.

AlphaNecron avatar AlphaNecron commented on July 23, 2024

Try prisma migrate deploy and then prisma db seed. Use npx or yarn, depending on your PM.

from void.

AlphaNecron avatar AlphaNecron commented on July 23, 2024

Closed due to inactivity. Feel free to reopen if you encounter other issues.

from void.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.