-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
meow does something strange with GL #144
Comments
The only thing I can think of is Lines 13 to 15 in 2954ed2
|
I tried to comment out the "delete" line, didn't help |
Hello, I happen to watch this repository and this issue surprised me. I tried to reproduce it but could not. I got EDIT: used yarn, still getting |
I did some binary search code elimination and I found that what's causing it is this line: Line 80 in 2954ed2
@papb which OS are you on? So basically the way to reproduce this is: const GL = require('gl');
process.title = 'foo'
const gl = GL(320, 240);
console.log(gl != null) Returns false If I comment out |
Now I found this issue: stackgl/headless-gl#180 |
As suggested there I upgraded to node v12.16.2 and now it works. I was running v12.11.1 before. |
I am on windows, node v12.14.1 |
I create a new directory then
yarn add gl meow
This prints
true
- all ok.However when I uncomment
meow('foo')
, I getfalse
. So for some reasonGL
returns null now. Will look more into it, but maybe you have an idea. Is meow doing any global changes to the node environment?The text was updated successfully, but these errors were encountered: