Closed smiilliin closed 1 year ago
Have you made sure to start xvfb? Usually something like
xvfb-run -s "-ac -screen 0 64x64x24" <node program>
or starting xfvb in the background (e.g. with systemd, etc.):
export DISPLAY=:99.0
/usr/bin/Xvfb :99 -nolisten tcp -fbdir /tmp -screen 0 64x64x24 # start in background somehow
<node program>
(these specific commands vary per distribution)
I wrote the following example code on node v18.15.0 on debian 11 linux. I also have installed all system dependencies
but it occurs error because gl is null I tried this code on windows 11 and it works
why it doesn't work on linux environment?