Coder Social home page Coder Social logo

UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE] [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined about docker HOT 5 CLOSED

calcom avatar calcom commented on June 13, 2024
UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE] [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined

from docker.

Comments (5)

pavelbrylov avatar pavelbrylov commented on June 13, 2024 2

@d33tah https://github.com/calendso/calendso/issues/856#issuecomment-935717315 this seems to be an issue, I guess it needs to be added to .env in the docker project

from docker.

joshsny avatar joshsny commented on June 13, 2024

Just making a guess, but it could be that you were previously logged in to an account, your database was reset and now your cookies say you are logged in to a user that doesn't exist.

Only guessing that because of the SELECT query.

from docker.

d33tah avatar d33tah commented on June 13, 2024

@joshsny thanks for replying! I tried using another browser, after entering the credentials I get a "loading" rotating square animation and the following error in the logs:

calendso_1  | (node:403) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 48)

According to the logs, database is "ready". Is there some debugging flag I can set to get more meaningful error messages?

from docker.

joshsny avatar joshsny commented on June 13, 2024

In terms of a debug flag, there isn't one that I'm aware of.

Is there any context/stack trace for that error message?

from docker.

d33tah avatar d33tah commented on June 13, 2024

Nothing that I hadn't mentioned in the log from the first message in this thread. Should I somehow modify the source code to get more information?

from docker.

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.