Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: gl return null #100

Closed
Atlas7005 opened this issue Dec 17, 2020 · 3 comments
Closed

Error: gl return null #100

Atlas7005 opened this issue Dec 17, 2020 · 3 comments

Comments

@Atlas7005
Copy link

Atlas7005 commented Dec 17, 2020

OS: Ubuntu LTS 20.04.1
Node: v12.10.0

I get the gl return null error, but I seem to have all the dependencies.
Edit: This exact code with this exact Node version worked on Windows 10 two minutes prior.

@Atlas7005
Copy link
Author

Fixed by using xvfb-run -s "-ac -screen 0 1280x720x24" node app.js 😄

@makeitcount
Copy link

Hi @Atlas7005 thanks for posting the solution. I tried your solution, it works well from command line.
But I'm facing issues in getting it to work with pm2 using ecosystem config

@Atlas7005
Copy link
Author

Yo @makeitcount - It's been so long, I don't even remember using this library. I hope you figure out the solution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants