-
Hi Observable Community! I am trying to load a module that I installed using
Also there is a package.json in the top-level When I try There is a folder at What is the correct way to import this module? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Please check if the import docs help to answer your question: https://observablehq.com/framework/imports#node-imports |
Beta Was this translation helpful? Give feedback.
-
Thank you, @mootari - I started there. For node imports, I tried just calling it first:
I also tried the documentation of local imports, it gives 2 examples:
I tried to copy over the output in I have tried the the following import methods: I am experimenting with a newly-created framework project, within which I installed |
Beta Was this translation helpful? Give feedback.
I think that build is either broken or some dependencies (either direct or transitive) haven't been sufficiently constrained and are now incompatible. If you're determined enough you could try to clone the package's repo and get the example to run. If that works you'll at least have a baseline to work from.