DenoDDeno
Powered by
FredkF
Deno•2mo ago•
13 replies
Fredk

node_modules/.deno/sanitize-html@2.17.0/node_modules/sanitize-html/index.js with error

⚙️Deno CLI
My Vite compiler, albeit successful, throws this during compilation:
node_modules/.deno/sanitize-html@2.17.0/node_modules/sanitize-html/index.js (1:16): "default" is not exported by "node_modules/.deno/htmlparser2@8.0.2/node_modules/htmlparser2/lib/esm/index.js", imported by "node_modules/.deno/sanitize-html@2.17.0/node_modules/sanitize-html/index.js".

How do I deal with this please?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Deno - Sanitize Filters
BairdyBBairdy / help
3y ago
`deno cache` with `node_modules_dir` moves sub-dependencies into `.deno/node_modules` dir
N!NZBRETTNN!NZBRETT / help
3y ago
Next.JS with Deno 2.0 has "hydration" error after creation.
SwyfteySSwyftey / help
17mo ago
Importing local Node.js modules
abiAabi / help
3y ago