noiredayz/trilaud

Keep getting ERR_REQUIRE_ESM errors in logs

Closed this issue · 1 comments

image

I'm using node 16, any ideas on why this is happening? Just trying to run it on my local raspberry pi.

I upgraded deps without testing them again Pepega FBBlock 🧠
Chalk 5.x no longer supports common js and needs to be used as ESM. Ref: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c

For now I downgraded Chalk in deps to 4.x so it works again. Future rewrite will be needed to ESM support, it's not the first time I get them.
Resolved in e452d8a