Is it possible to run npm programs that run local scripts which require from a local node modules folder? #23256
-
For instance, Eleventy executes a script But when using Curiously, it does succeed when I can't convert the imports to ES modules because Eleventy itself Why can the file not import from the node modules directory? Is there some workaround? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Can you paste what's the exact error? |
Beta Was this translation helpful? Give feedback.
I figured out what the problem was. I was importing an indirect dependency, which works if node_modules is laid out like npm does it, but not like Deno does it.