Skip to content

error: open http://localhost:3000/ #3

@smelike

Description

@smelike

After download and extract the zip, run the commands:

npm install
npm run dev

npm run dev

> booktrace@0.1.0 dev
> next dev --turbopack

   ▲ Next.js 15.5.4 (Turbopack)
   - Local:        http://localhost:3000
   - Network:      http://192.168.50.97:3000
   - Environments: .env.local

 ✓ Starting...
 ✓ Ready in 1101ms
 ○ Compiling / ...
 ✓ Compiled / in 2.6s
 ⨯ Error: Invalid supabaseUrl: Must be a valid HTTP or HTTPS URL.
    at validateSupabaseUrl (../../../src/lib/helpers.ts:90:11)
    at new SupabaseClient (../../src/SupabaseClient.ts:104:40)
    at createClient (../../src/index.ts:46:10)
    at __TURBOPACK__module__evaluation__ (lib\supabase\client.ts:10:37)
    at __TURBOPACK__module__evaluation__ (lib\supabase\suggestions.ts:1:1)
    at __TURBOPACK__module__evaluation__ (components\SearchBar.tsx:4:1)
    at __TURBOPACK__module__evaluation__ (app\page.tsx:4:1)
   8 | }
   9 |
> 10 | export const supabase = createClient(supabaseUrl, supabaseAnonKey, {
     |                                     ^
  11 |   auth: {
  12 |     persistSession: false,
  13 |     autoRefreshToken: false, {
  digest: '66169895'
}
 GET / 500 in 3358ms
 ⚠ Cross origin request detected from 192.168.50.97 to /_next/* resource. In a future major version of Next.js, you will need to explicitly configure "allowedDevOrigins" in next.config to allow this.
Read more: https://nextjs.org/docs/app/api-reference/config/next-config-js/allowedDevOrigins
 ✓ Compiled /favicon.ico in 246ms
 GET /favicon.ico 200 in 587ms
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions