Skip to content

Angular v17 with Supabase freezes while ng serve or ng build #26395

Closed as not planned
@LukasKomar

Description

@LukasKomar

Command

build, serve

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

16

Description

Hey, I just created a new Angular 17 Application. After adding the latest supabase client the serve and build command will not work properly anymore.

Minimal Reproduction

ng new repro-app
npm install @supabase/supabase-js

Exception or Error

ng build-> Build freeze

ng serve-> no freeze, command looks fine. But localhost:4200 will not provide any data.

Your Environment

Angular CLI: 17.0.1
Node: 20.9.0
Package Manager: npm 10.1.0
OS: win32 x64

Angular: 17.0.3
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, platform-server
... router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1700.1
@angular-devkit/build-angular   17.0.1
@angular-devkit/core            17.0.1
@angular-devkit/schematics      17.0.1
@angular/cli                    17.0.1
@angular/ssr                    17.0.1
@schematics/angular             17.0.1
rxjs                            7.8.1
typescript                      5.2.2
zone.js                         0.14.2

Anything else relevant?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions