OnkelTem
OnkelTem
Explore posts from servers
Aarktype
Created by OnkelTem on 10/14/2024 in #questions
Multiple @ark registries detected
type: module is also in its place
26 replies
Aarktype
Created by OnkelTem on 10/14/2024 in #questions
Multiple @ark registries detected
Initially I thought that arktype exports both CJS and ESM, but I opened its package.json and it doesn't seem to be the case, I see only ESMs
26 replies
Aarktype
Created by OnkelTem on 10/14/2024 in #questions
Multiple @ark registries detected
I.e. the second one is probably also connected
26 replies
Aarktype
Created by OnkelTem on 10/14/2024 in #questions
Multiple @ark registries detected
Multiple @ark registries detected. This can lead to unexpected behavior.
Multiple @ark registries detected. This can lead to unexpected behavior.
File unknown was initialized multiple times, likely due to being imported from both CJS and ESM contexts.
File unknown was initialized multiple times, likely due to being imported from both CJS and ESM contexts.
26 replies
Aarktype
Created by OnkelTem on 10/14/2024 in #questions
Multiple @ark registries detected
I have actually two errors related to arktype in Nodejs
26 replies
Aarktype
Created by OnkelTem on 10/17/2023 in #questions
CJS/ESM issue with arktype
A lib
68 replies
Aarktype
Created by OnkelTem on 10/17/2023 in #questions
ParseError: '3.0' was parsed as a number but could not be narrowed to a literal value.
👍🏻
21 replies
Aarktype
Created by OnkelTem on 10/17/2023 in #questions
ParseError: '3.0' was parsed as a number but could not be narrowed to a literal value.
hah
21 replies
Aarktype
Created by OnkelTem on 10/17/2023 in #questions
ParseError: '3.0' was parsed as a number but could not be narrowed to a literal value.
You were boring there? 🙂
21 replies
Aarktype
Created by OnkelTem on 10/17/2023 in #questions
ParseError: '3.0' was parsed as a number but could not be narrowed to a literal value.
And I wrote 3.0 automatically, because I wrote 0.1 🙂 Same precision, university education you know
21 replies
Aarktype
Created by OnkelTem on 10/17/2023 in #questions
ParseError: '3.0' was parsed as a number but could not be narrowed to a literal value.
Be like that. Thinking that 3.0 is abnormal hahah
21 replies
Aarktype
Created by OnkelTem on 10/17/2023 in #questions
ParseError: '3.0' was parsed as a number but could not be narrowed to a literal value.
But yuck 🙂
21 replies
Aarktype
Created by OnkelTem on 10/17/2023 in #questions
CJS/ESM issue with arktype
I don't use such projects, yeah. I use previous versions, cjs compatible
68 replies
Aarktype
Created by OnkelTem on 10/17/2023 in #questions
CJS/ESM issue with arktype
But that's not an advantage, right? It's the source of the problems. For this reason I cannot use ESM with commonJS. And ESM - is a system that forces me to switch. I'm not a conspiracy theory follower, but it may look like a deliberate thing, while it's just an architecture consequence
68 replies
Aarktype
Created by OnkelTem on 10/17/2023 in #questions
CJS/ESM issue with arktype
What I've been through for the last few days - I wouldn't call easy
68 replies
Aarktype
Created by OnkelTem on 10/17/2023 in #questions
CJS/ESM issue with arktype
in what way?
68 replies
Aarktype
Created by OnkelTem on 10/17/2023 in #questions
CJS/ESM issue with arktype
I don't know really. Don't want this plague to spread further LOL
68 replies
Aarktype
Created by OnkelTem on 10/17/2023 in #questions
CJS/ESM issue with arktype
Until I tried it with ts-node LOL
68 replies
Aarktype
Created by OnkelTem on 10/17/2023 in #questions
CJS/ESM issue with arktype
A few days ago they helped me to discover this "Bundler" options which seemed to be a good solution!
68 replies
Aarktype
Created by OnkelTem on 10/17/2023 in #questions
CJS/ESM issue with arktype
Meh
68 replies