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
It seems like the x-typescript-types header sent by esm.sh are incorrect:
It should be https://cdn.esm.sh/v51/[email protected]/hooks/src/index.d.ts instead.
Error message
After running deno run I get this:
error: Error: Unable to resolve media type for specifier: "https://cdn.esm.sh/v51/[email protected]/hooks...d.ts"
at deno:core/01_core.js:106:46
at unwrapOpResult (deno:core/01_core.js:126:13)
at Object.opSync (deno:core/01_core.js:140:12)
at Object.resolveModuleNames (deno:cli/tsc/99_main_compiler.js:343:29)
at actualResolveModuleNamesWorker (deno:cli/tsc/00_typescript.js:109500:133)
at resolveModuleNamesWorker (deno:cli/tsc/00_typescript.js:109763:26)
at resolveModuleNamesReusingOldState (deno:cli/tsc/00_typescript.js:109860:24)
at processImportedModules (deno:cli/tsc/00_typescript.js:111315:35)
at findSourceFileWorker (deno:cli/tsc/00_typescript.js:111116:17)
at findSourceFile (deno:cli/tsc/00_typescript.js:110977:26)
Additional info
esm.sh version: v51
Deno version: 1.13.2
The text was updated successfully, but these errors were encountered:
Failing module
It seems like the
x-typescript-types
header sent by esm.sh are incorrect:It should be
https://cdn.esm.sh/v51/[email protected]/hooks/src/index.d.ts
instead.Error message
After running
deno run
I get this:Additional info
The text was updated successfully, but these errors were encountered: