4 ms·
" Deno doesn't provide (and doesn't aim to provide) compatibility with most of it" which packages did you have issues with/need that didn't work? my understand
by hayd 4y ago
" Deno doesn't provide (and doesn't aim to provide) compatibility with most of it"
which packages did you have issues with/need that didn't work?
my understanding was with node compat flag deno supported quite a bit...
- t0astbread 4y agoAt the time it was the "tailwindcss" package IIRC. I also just tried it again on the latest iteration of that codebase and ran into some import problems, seemingly related to "markdown-it" (version 13.0.1). First I got "SyntaxError: Cannot use import statement outside a module", when I changed the package.json file to add "type: module", as requested in the error message, I got a panic. If you want, I can open an issue for that. Additionally, I'm currently using at least one function in "fs/promises" that doesn't seem to be supported yet ("opendir") and the "vm" module to evaluate some (trusted) JS. Most of those issues can be worked around, I just decided to go with Node instead for the time being.