hi,
$ yarn build
yarn run v1.22.22
$ next build
▲ Next.js 14.2.35
Creating an optimized production build ...
Failed to compile.
./node_modules/@supabase/ssr/dist/index.mjs
Module not found: Can't resolve '@supabase/supabase-js'
https://nextjs.org/docs/messages/module-not-found
Import trace for requested module:
./src/app/util/supabase/index.ts
./src/app/db/actions.ts
./src/app/(pages)/blog/page.tsx
Build failed because of webpack errors
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
how to fix it?
thank u!
hi,
$ yarn build
yarn run v1.22.22
$ next build
▲ Next.js 14.2.35
Creating an optimized production build ...
Failed to compile.
./node_modules/@supabase/ssr/dist/index.mjs
Module not found: Can't resolve '@supabase/supabase-js'
https://nextjs.org/docs/messages/module-not-found
Import trace for requested module:
./src/app/util/supabase/index.ts
./src/app/db/actions.ts
./src/app/(pages)/blog/page.tsx
how to fix it?
thank u!