npx create-next-app example "with-supabase" not found

Open
#2,133 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
next.js, node.js, supabase

Research direction

Start by rerunning the reported npx create-next-app --e with-supabase jwt-auth command and inspect how the with-supabase example is made available to create-next-app. Confirm the expected example location and update the relevant source or documentation so the command succeeds, then verify it on Node.js 20+.

Written by the indexing model from the issue text.

Description

bug

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

I ran the following command to create a new Next.js project with Supabase new auth example from supabase youtube channel:
npx create-next-app --e with-supabase jwt-auth

I got the following error:
Could not locate an example named "with-supabase". It could be due to the following:

  1. Your spelling of example "with-supabase" might be incorrect.
  2. You might not be connected to the internet or you are behind a proxy.

To Reproduce

  1. Install Node.js 20+
  2. Run: npx create-next-app --e with-supabase jwt-auth
  3. Observe the error

Expected behavior

I expected the example to be created successfully.

System information

  • OS: Windows 10 / macOS / Linux
  • Node.js version: 20.x
  • npm version: latest
  • Internet connection: working
    --tried with vpn proxy on/off
Dominant language
Go
Stars
2.6k
Forks
764
Avg merge
5d 3h
Merged PRs (30d)
39

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from supabase/auth

All issues in supabase/auth

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.