This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-26
Channels
- # babashka (63)
- # beginners (27)
- # calva (17)
- # cider (1)
- # clojure (23)
- # clojure-europe (6)
- # clojure-norway (4)
- # clojurescript (9)
- # cursive (8)
- # data-oriented-programming (9)
- # data-science (7)
- # fulcro (14)
- # graalvm (3)
- # helix (3)
- # introduce-yourself (1)
- # jobs-discuss (7)
- # membrane (40)
- # missionary (4)
- # off-topic (32)
- # pathom (60)
- # react (6)
- # releases (2)
- # shadow-cljs (4)
hi folks, i'm trying to use react-router-dom@next which is a typescript package, i'm getting . {:tag :shadow.build.npm/missing-entries, :entries ["./main.js" "./index.js"], :package-dir #object[java.io.File 0x2be31a66 "/home/geraldo/projetos/crudis/node_modules/react-router-dom"]} ExceptionInfo: package in /home/geraldo/projetos/crudis/node_modules/react-router-dom specified entries but they were all missing, These are the files at the root of node-modules
shadow does not compiles typescript right ? I've asked on react-router forum and they told me it was an oversight. They instructed me to use "react-router-dom": "6.4.0-pre.2" which is js.
@geraldodev the package is just broken. in package.json it referneces these files
"main": "./main.js",
"module": "./index.js",
but they are not included in the package. it will not work in any bundler and has nothing to do with typescript or shadow-cljs. someone just forgot to put the files in the package when publishing