This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-10-25
Channels
- # babashka (65)
- # beginners (34)
- # biff (18)
- # calva (8)
- # clara (22)
- # clj-kondo (32)
- # clojure (24)
- # clojure-bay-area (4)
- # clojure-europe (135)
- # clojure-nl (3)
- # clojure-norway (9)
- # clojure-uk (1)
- # clojurescript (11)
- # clojutre (1)
- # core-async (8)
- # cursive (3)
- # datomic (31)
- # emacs (5)
- # fulcro (6)
- # graalvm (5)
- # graphql (3)
- # honeysql (1)
- # introduce-yourself (9)
- # kaocha (1)
- # lsp (65)
- # meander (5)
- # nbb (7)
- # nrepl (2)
- # off-topic (44)
- # rum (3)
- # shadow-cljs (23)
- # specter (1)
- # tools-deps (6)
- # vim (3)
- # xtdb (30)
Is there a way to use from nbb an npm library that uses json modules as described here: https://v8.dev/features/import-assertions? I'm using a library that uses an import statement with a json file, as in that link, and getting
Module "file:///c:/path/to/project/node_modules/library/stuff.json" needs an import assertion of type "json"
I'm not sure if this works in clojurescript proper either, but can't try that out until tomorrow. I suspect it'll be the same error though.Sorry, here's a repro https://gist.github.com/jjttjj/e066cb3d7e30ceace1e894a01c18f185
Basically trying to copy the first steps of this guide here: https://docs.uniswap.org/sdk/guides/quick-start