Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nextjs Compile Error With SupabaseJS ( Not Nextjs Error ) #1034

Open
Tenuka22 opened this issue May 6, 2024 · 0 comments
Open

Nextjs Compile Error With SupabaseJS ( Not Nextjs Error ) #1034

Tenuka22 opened this issue May 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Tenuka22
Copy link

Tenuka22 commented May 6, 2024

[09:22:05.157] Running build in Washington, D.C., USA (East) – iad1 [09:22:05.357] Cloning github.com/Tenuka22/playtech-computer-solutions (Branch: main, Commit: e65c1af) [09:22:05.408] Skipping build cache, deployment was triggered without cache. [09:22:06.084] Cloning completed: 723.58ms [09:22:06.955] Running "vercel build" [09:22:07.963] Vercel CLI 34.1.8 [09:22:08.772] Detected pnpm-lock.yamlversion 9 generated by pnpm 8 [09:22:08.788] Running "install" command:bun install... [09:22:08.850] bun install v1.1.6 (e58d67b4) [09:22:08.861] Resolving dependencies [09:22:08.959] Resolved, downloaded and extracted [6] [09:22:17.492] Saved lockfile [09:22:17.493] [09:22:17.493] + @types/node@20.12.8 [09:22:17.493] + @types/react@18.3.1 [09:22:17.493] + @types/react-dom@18.3.0 [09:22:17.493] + postcss@8.4.38 [09:22:17.493] + prettier@3.2.5 [09:22:17.493] + prettier-plugin-tailwindcss@0.5.14 [09:22:17.493] + tailwindcss@3.4.3 [09:22:17.493] + typescript@5.4.5 [09:22:17.493] + @hookform/resolvers@3.3.4 [09:22:17.493] + @radix-ui/react-accordion@1.1.2 [09:22:17.493] + @radix-ui/react-dialog@1.0.5 [09:22:17.493] + @radix-ui/react-dropdown-menu@2.0.6 [09:22:17.496] + @radix-ui/react-icons@1.3.0 [09:22:17.496] + @radix-ui/react-label@2.0.2 [09:22:17.497] + @radix-ui/react-popover@1.0.7 [09:22:17.497] + @radix-ui/react-scroll-area@1.0.5 [09:22:17.497] + @radix-ui/react-slot@1.0.2 [09:22:17.497] + @radix-ui/react-toast@1.1.5 [09:22:17.497] + @radix-ui/react-tooltip@1.0.7 [09:22:17.497] + @react-three/drei@9.105.6 [09:22:17.497] + @splinetool/r3f-spline@1.0.2 [09:22:17.497] + @supabase/ssr@0.3.0 [09:22:17.497] + @supabase/supabase-js@2.43.1 [09:22:17.497] + @types/lodash@4.17.0 [09:22:17.497] + class-variance-authority@0.7.0 [09:22:17.497] + clsx@2.1.1 [09:22:17.497] + cmdk@1.0.0 [09:22:17.497] + embla-carousel-autoplay@8.0.2 [09:22:17.497] + embla-carousel-react@8.0.2 [09:22:17.497] + framer-motion@11.1.7 [09:22:17.497] + lucide-react@0.378.0 [09:22:17.497] + next@14.2.3 [09:22:17.497] + react@18.3.1 [09:22:17.497] + react-dom@18.3.1 [09:22:17.497] + react-hook-form@7.51.3 [09:22:17.497] + react-icons@5.2.0 [09:22:17.497] + react-phone-number-input@3.4.1 [09:22:17.497] + supabase@1.165.0 [09:22:17.497] + tailwind-merge@2.3.0 [09:22:17.497] + tailwind-scrollbar-hide@1.1.7 [09:22:17.497] + tailwindcss-animate@1.0.7 [09:22:17.498] + zod@3.23.5 [09:22:17.498] + zustand@4.5.2 [09:22:17.498] [09:22:17.498] 326 packages installed [8.67s] [09:22:17.544] Detected Next.js version: 14.2.3 [09:22:17.565] Running "pnpm run build" [09:22:18.066] [09:22:18.066] > playtech-store@0.1.0 build /vercel/path0 [09:22:18.067] > next build [09:22:18.067] [09:22:18.714] Attention: Next.js now collects completely anonymous telemetry regarding usage. [09:22:18.715] This information is used to shape Next.js' roadmap and prioritize features. [09:22:18.715] You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL: [09:22:18.716] https://nextjs.org/telemetry [09:22:18.716] [09:22:18.782] ▲ Next.js 14.2.3 [09:22:18.783] [09:22:18.855] Creating an optimized production build ... [09:22:54.285] ✓ Compiled successfully [09:22:54.286] Linting and checking validity of types ... [09:23:02.524] Failed to compile. [09:23:02.525] [09:23:02.525] ./node_modules/@supabase/supabase-js/src/index.ts:17:3 [09:23:02.525] Type error: Re-exporting a type when 'isolatedModules' is enabled requires using 'export type'. [09:23:02.525] [09:23:02.525] �[0m �[90m 15 |�[39m �[33mFunctionsRelayError�[39m�[33m,�[39m�[0m [09:23:02.526] �[0m �[90m 16 |�[39m �[33mFunctionsError�[39m�[33m,�[39m�[0m [09:23:02.526] �[0m�[31m�[1m>�[22m�[39m�[90m 17 |�[39m �[33mFunctionInvokeOptions�[39m�[33m,�[39m�[0m [09:23:02.526] �[0m �[90m |�[39m �[31m�[1m^�[22m�[39m�[0m [09:23:02.526] �[0m �[90m 18 |�[39m �[33mFunctionRegion�[39m�[33m,�[39m�[0m [09:23:02.526] �[0m �[90m 19 |�[39m } �[36mfrom�[39m �[32m'@supabase/functions-js'�[39m�[0m [09:23:02.526] �[0m �[90m 20 |�[39m �[36mexport�[39m �[33m*�[39m �[36mfrom�[39m �[32m'@supabase/realtime-js'�[39m�[0m [09:23:02.570]  ELIFECYCLE  Command failed with exit code 1. [09:23:02.590] Error: Command "pnpm run build" exited with 1 [09:23:03.004]

Supabase js node_modules export 17 | FunctionInvokeOptions, but that should be export type { FunctionInvokeOptions } from '@supabase/functions-js'

@Tenuka22 Tenuka22 added the bug Something isn't working label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant