Repository navigation
Troubleshooting
Bosaj edited this page Aug 20, 2026
·
4 revisions
A reference guide for diagnosing and fixing issues in local development and production.
- Root Cause: GoTrue client internal mutex lock deadlocked during StrictMode mounts or Supabase cold starts.
-
Fix: The application uses direct native REST API calls with the session token in
AuthContext.jsx. EnsureVITE_SUPABASE_URLandVITE_SUPABASE_ANON_KEYare defined in.env.
-
Fix: Ensure the
galleryandavatarsbuckets in Supabase Storage have Public Bucket enabled with publicSELECTpolicies.
-
Fix:
GalleryPreview.jsxenforcesdir="ltr"on the overflow wrapper while keeping inner cards localized.
-
Fix: Remove UTF-8 BOM from
package.jsonusing Node.jsfs.writeFileSync.
-
Fix: Ensure
vite.config.jssetssetupFiles: './src/tests/setup.js'.
Production Web App: https://a-a-b-v.netlify.app/
Official Email: asosoufaraelkhir48@gmail.com | GitHub Repo: Bosaj/les-ambassadeurs-web
Facebook • Instagram • X (Twitter) • LinkedIn • WhatsApp
Platform developed & maintained by Oussama ELHADJI — All Rights Reserved © 2026