Open takegine opened 1 year ago
try and use chalk before everything else and see if you get the same error. Idk what ora
is but the message looks identical to the one you get with chalk. Does it work if you compile to ESM exclusively?
I would highly suggest moving ora
to devDeps
so tsup can inline it instead of using require
.
ora@6.1.2 is a pure esm package.
add type: "modules" in your package.json of project
I'm trying to write cli for my project. But it doesn't work,I need help.
Upvote & Fund