You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SSR TypeError: Relative import path "client-only" not prefixed with / or ./ or ../ and not in import map from "https://esm.sh/v120/@headlessui/[email protected]/X-ZS8q/deno/react.mjs"
at https://esm.sh/v120/@headlessui/[email protected]/X-ZS8q/deno/react.mjs:2:7
at async importRouteModule (https://deno.land/x/[email protected]/server/router.ts:38:10)
at async https://deno.land/x/[email protected]/server/renderer.ts:286:17
at async Promise.all (index 0)
at async initSSR (https://deno.land/x/[email protected]/server/renderer.ts:285:19)
at async Object.fetch (https://deno.land/x/[email protected]/server/renderer.ts:26:41)
at async routeHandler (https://deno.land/x/[email protected]/server/handler.ts:347:14)
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:299:18)
turn SSR off and seeing similar error from browser console
client.ts:24 Uncaught (in promise) TypeError: Failed to resolve module specifier "client-only". Relative references must start with either "/", "./", or "../".
await (async)
(anonymous) @ main.ts:3
The text was updated successfully, but these errors were encountered:
Anyone has any idea why i am getting below error?
import_map.json
usage:
turn SSR off and seeing similar error from browser console
The text was updated successfully, but these errors were encountered: