Skip to content

SyntaxError: JSON Parse error: Unrecognized token '' #5395

@karan-prakash

Description

@karan-prakash

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

Can't start local supabase using the CLI supabase start

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

PS C:\Users\{USER}\Github\[PROJECT]> scoop install supabase
WARN  'supabase' (2.101.0) is already installed.
Use 'scoop update supabase' to install a new version.

PS C:\Users\{USER}\Github\[PROJECT]> scoop update supabase 
supabase: 2.101.0 (latest version)
Latest versions for all apps are installed! For more information try 'scoop status'

PS C:\Users\{USER}\Github\[PROJECT]> supabase start
175 | ${Rm(_.cause,"  ")}
176 | }`:_.stack).join(`
177 | `),Rm=(w,_)=>{let R=w.stack.split(`
178 | `),D=`${_}[cause]: ${R[0]}`;for(let J=1,Y=R.length;J<Y;J++)D+=`
179 | ${_}${R[J]}`;if(w.cause)D+=` {
180 | ${_}}`;return D},kQ=`~effect/Fiber/${FB}`,RS0={_A:_0,_E:_0},DS0={id:0},x5=()=>globalThis[YY];class dT{constructor(w,_=!0){this[kQ]=RS0,this.setContext(w),this.id=++DS0.id,this.currentOpCount=0,this.currentLoopCount=0,this.interruptible=_,this._stack=[],this._observers=[],this._exit=void 0,this._children=void 0,this._interruptedCause=void 0,this._yielded=void 0,this.runtimeMetrics?.recordFiberStart(this.context)}[kQ];id;interruptible;currentOpCount;currentLoopCount;_stack;_observers;_exit;_currentExit;_children;_interruptedCause;_yielded;context;currentScheduler;currentTracerContext;currentSpan;currentLogLevel;minimumLogLevel;currentStackFrame;runtimeMetrics;maxOpsBeforeYield;currentPreventYield;_dispatcher=void 0;get currentDispatcher(){return this._dispatcher??=this.currentScheduler.makeDispatcher()}getRef(w){return RT(this.context,w)}addObserver(w){if(this._exit)return w(this._exit),y1;return this._observers.push(w),()=>{let _=this._observers.indexOf(w);if(_>=0)this._observers.splice(_,1)}}interruptUnsafe(w | ... truncated 

SyntaxError: JSON Parse error: Unrecognized token ''
      at ~effect/Effect/successCont (B:/~BUN/root/supabase.exe:180:7863)
      at runLoop (B:/~BUN/root/supabase.exe:180:2053)
      at evaluate (B:/~BUN/root/supabase.exe:180:1441)
      at <anonymous> (B:/~BUN/root/supabase.exe:180:5706)
      at <anonymous> (B:/~BUN/root/supabase.exe:189:12261)
      at <anonymous> (node:fs:225:13)

Bun v1.3.13 (Windows x64)

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

System information

  • OS: Windows
  • Browser (if applies) [e.g. chrome, safari]
  • Version of supabase-js: [e.g. 6.0.2]
  • Version of Node.js: [e.g. 10.10.0]

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    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