Open WitoDelnat opened 2 years ago
For now we undocumented the brew install and we can revise this once there is more traction towards this.
NodeJs has a bit a bad reputation in Cloud-Native ecoystem so it's best to solely work with binaries and leave out the npm install
. We noticed some bugs on recurrent usage for binary for MacOS. The firsts times it will work! Try it after a while and it stops working with above error.
We could consider vercel/pkg but it does not seem to support ESM (see pinned issues) and I don't think we can compile to CJS because the dynamic imports of plugins. A special NodeJs loader that relies on Base64 urls or node:vm could be an option? To be investigated.
Contact Details
No response
What happened?
The binary works fine and then another time a bit later I run into this error:
brew uninstall monokle-cli && brew install monokle-cli
does not solve it. I have to manually go and delete caxa's temporary directory which is an awful experience.Version
1.0.0 (Default)
Relevant log output
No response
Code of Conduct