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

Cannot set property error of #<ErrorEvent> which has only a getter #11706

Closed
bhaktatejas922 opened this issue Aug 28, 2024 · 1 comment
Closed
Labels
bug Something isn't working triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.

Comments

@bhaktatejas922
Copy link

Environment

  System:
    OS: macOS 14.6.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 255.14 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.6.0 - /opt/homebrew/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 10.8.2 - /opt/homebrew/bin/npm
    bun: 1.1.17 - /opt/homebrew/bin/bun
  Browsers:
    Chrome: 128.0.6613.85
    Safari: 17.6

Reproduction URL

https://github.com/vercel/platforms/discussions/422

Describe the issue

@saasfly/nextjs:dev: ⨯ TypeError: Cannot set property error of # which has only a getter
@saasfly/nextjs:dev: at formatError (webpack-internal:///(rsc)/../../node_modules/next-auth/utils/logger.js:32:13)
@saasfly/nextjs:dev: at Object.error (webpack-internal:///(rsc)/../../node_modules/next-auth/utils/logger.js:45:16)
@saasfly/nextjs:dev: at _callee2$ (webpack-internal:///(rsc)/../../node_modules/next-auth/core/errors.js:373:22)
@saasfly/nextjs:dev: at tryCatch (webpack-internal:///(rsc)/../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
@saasfly/nextjs:dev: at Generator.eval (webpack-internal:///(rsc)/../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
@saasfly/nextjs:dev: at Generator.eval [as throw] (webpack-internal:///(rsc)/../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
@saasfly/nextjs:dev: at asyncGeneratorStep (webpack-internal:///(rsc)/../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
@saasfly/nextjs:dev: at _throw (webpack-internal:///(rsc)/../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:20:9)
@saasfly/nextjs:dev: at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

How to reproduce

some sort of bug that results in a non useful error message.
See https://github.com/vercel/platforms/discussions/422 for the same issue

Expected behavior

succesful authentication

@bhaktatejas922 bhaktatejas922 added bug Something isn't working triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime. labels Aug 28, 2024
@bhaktatejas922
Copy link
Author

bhaktatejas922 commented Aug 29, 2024

fixed. just a non useful error, but the issue was my DB connection. Needed to use a different PG adapter for my db

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Projects
None yet
Development

No branches or pull requests

1 participant