Cannot get the engine
Hello ! Thanks for a great project. However, i wrote an app that works on my machine(tm), but fails to start on the production server. It throws EngineNotAvailable without any additional information. I cannot find any info about this exception in the docs. Can you point me where should i dig ? Thanks !
Usually that's related to permission issues. Please verify that your application has write access to the /tmp. And, you may join the discord to discuss with me in realtime.
So... i added logs, and figured out that libc on prod server is 2.27, and javet is built with 2.29. Maybe consider linking native libraries with static libc ? For now feel free to close the issue, i'm going to trying build native library with 2.27.
hs_err_pid72563.log Sorry for bumping this topic again, but i built javet on ubuntu 18.04 following the guide, but it crashes. Maybe you seen this error before / there are other things to consider when building ?
It's very strict to use the function cache.
- Same V8 version
- Same OS env
- Same CPU arch
- ...
May I know if you tried to load a function cache generated in another env?
I'm just trying to load and executre a script in NodeJs env. I don't know if underlying caches are involved. Maybe javet uses some type of cache storage by default that i should clear?
I see. It seems your build is corrupted. You may consider using some legacy Javet builds that are friendly to Ubuntu 18.04.
Would you kindly point me to the right one? I've had tried 1.1.7 with no luck. Also maybe a page with compatibility info should be updated? Thank you !
Sorry, I don't have enough time testing every Linux distributions. In general, the older the release is, the better compatibility does Javet have.