Illegal instruction #67
Replies: 3 comments 4 replies
-
but...having said all that, i believe the issue is that and if that's the case, the only solution is to custom build btw, you don't need to build on that VPS server, you can build locally - important is to have correct configuration. before going down that route, you can try old |
Beta Was this translation helpful? Give feedback.
-
no, its cross-platform compile, you can even build for ARM while on x86 - it all depends on configuration |
Beta Was this translation helpful? Give feedback.
-
just occured to me, why not use only gotcha is that wasm binaries must be loaded from https target, it doesn't support local fs i/o handler while this is not ideal it may not be a bad start |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am developing for Nodejs, on local machine everything is running smoothly. But when I pushed the project on a VPS and try to run the project I get "Illegal instruction" and that's it. I traced the problem and found that this error occurs when I write either
const faceapi = require('@vladmandic/face-api')
or
const tensor = require('@tensorflow/tfjs-node')
I figured that tensorflow is not compatible with the system, although the project runs without issues on Heroku server, but the client won't be using Heroku.
After much struggling I managed to install tensorflow on the server but I still get the error. I even tried to build tensorflow on the server but the machine runs out of memory before the build is done. I'm lost and any help is appreciated.
My VPS environment:
Ubuntu Linux 20.04
QEMU Virtual CPU version 2.5+, 2 cores
2 GB RAM
Kernel and CPU: Linux 5.4.0-81-generic on x86_64
Beta Was this translation helpful? Give feedback.
All reactions