Skip to content

trying to run better-auth demo locally #4

@gregordimi

Description

@gregordimi

Is this suited for github?

  • Yes, this is suited for github

To Reproduce

I have tried following the instructions listed at https://www.better-auth.com/docs/examples/next-js linking to https://github.com/better-auth/better-auth/tree/canary/demo/nextjs but unfortunately it did not work for me.

Current vs. Expected behavior

I expected to be able to run the demo locally as instead I've got an error most likely related to:

"better-auth": "workspace:*",
"better-call": "catalog:",

Afterwards I've tried to building the package from the monorepo first and then install and run the example demo app, but that did not work either, yet resulted in different issues.

What version of Better Auth are you using?

latest

System info

n/a

Which area(s) are affected? (Select all that apply)

Documentation

Auth config (if applicable)

import { betterAuth } from "better-auth"
export const auth = betterAuth({
  emailAndPassword: {  
    enabled: true
  },
});

Additional context

It would be great if you can include a working demo and proper instructions, as there are issues with all of the demo/boilerplates that I found around.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions