This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-04-28
Channels
- # announcements (2)
- # babashka (21)
- # beginners (24)
- # calva (9)
- # cider (7)
- # clj-kondo (12)
- # clojure (116)
- # clojure-europe (5)
- # clojure-korea (2)
- # clojure-norway (3)
- # clojure-poland (1)
- # clojure-spec (5)
- # clojurescript (12)
- # cursive (12)
- # datomic (8)
- # google-cloud (4)
- # honeysql (16)
- # java (18)
- # lsp (10)
- # missionary (14)
- # polylith (12)
- # re-frame (13)
- # releases (4)
- # shadow-cljs (10)
- # sql (10)
- # testify (2)
Hi, @thheller, I am constantly getting this error when trying to deploy to firebase web app – and I cannot get rid of it:
DeprecationWarning: The punycode
module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ...
to show where the warning was created)
(node:81938) [DEP0044] DeprecationWarning: The util.isArray
API is deprecated. Please use Array.isArray()
instead.
It seems like it is connected with a deprecated dependency in node / or shadow-cljs? I am really sorry about asking stupid question but I really spent hours on trying to avoid the problem and let my app get deployed. Thanks!
sorry I don't really have an answer. this is not something in shadow-cljs. this is a node runtime warning, so some code you or your dependencies use end up with that warning
Yes, I did, but with confusing results for me:). Finally I found that after downgrading to node 9.5.1 it all works at least for now. Thanks a lot!
thats not really a fix is it? It probably just wasn't deprecated back then 😛 going back to something so ancient doesn't seem great.
You are absolutely right. I am a beginner in this area and my understanding is low and slow. Could you suggest me a good source to learn from – how to understand and handle package dependencies?
I can't really answer that generically. you could run something like npm list --depth=4
to find out which package is depending on punycode
the likely cause is just that you have some super old dependency that maybe has a newer version available, or maybe a replacement
I will try to narrow it down, I will do the best ... and then will bother you again with conclusion or additional stupid question, ok? BTW I created this simple app: https://nautilus-omnibus.web.app thanks to shadow-cljs. It is work in progress, refactoring needed etc. Thank you for your work, I really appreciate it. 🙏