# Bug report - [x] I confirm this is a bug with Supabase, not with my own application. - [x] I confirm I have searched the [Docs](https://docs.supabase.com), GitHub [Discussions](https://github.com/supabase/supabase/discussions), and [Discord](https://discord.supabase.com). ## Describe the bug It is a Typescript syntax error with `isolatedModules` on ## To Reproduce I was building a docker image for my application using this [template](https://github.com/vercel/next.js/blob/canary/examples/with-docker/Dockerfile) on NextJS docs Building a NextJS app with supabase should raise this error This is my code [My Code](https://github.com/cse-vaibhva/Task-Lists). ## Expected behavior Expected it to build when the Dockerfile ran `next build` ## Screenshots This is the error I got from docker build https://drive.google.com/file/d/1HRU_2bOrK5zQPGKvxAIPZ52_TPAv9NO9/view?usp=sharing ## System information - OS: Linux 18.04 - Version of supabase-js: ^2.24.0 - Version of Node.js: 18.16.0 ## Additional context I am using NextJS with TypeScript+SWC. I tried setting isolatedModules to false, but when I ran npm run build it set it back to true
Bug report
Describe the bug
It is a Typescript syntax error with
isolatedModulesonTo Reproduce
I was building a docker image for my application using this template on NextJS docs
Building a NextJS app with supabase should raise this error
This is my code My Code.
Expected behavior
Expected it to build when the Dockerfile ran
next buildScreenshots
This is the error I got from docker build
https://drive.google.com/file/d/1HRU_2bOrK5zQPGKvxAIPZ52_TPAv9NO9/view?usp=sharing
System information
Additional context
I am using NextJS with TypeScript+SWC.
I tried setting isolatedModules to false, but when I ran npm run build it set it back to true