I've been looking on the internet and in my code and I simply have no idea why this error occurs. Does anyone know how to solve it?
The best I got was a post indicating that the error is related to a v8 cache, that post is below, but I have no idea how to do what the text says.
PS: Thanks.
If you’re using Node.js and get a “invalid host defined options” error, it means you’re trying to use v8-compile-cache with ESM modules. That doesn’t work.
Sadly the only solution is to remove v8-compile-cache.