meow does something strange with GL
See original GitHub issueI create a new directory then yarn add gl meow
const GL = require('gl');
const meow = require('meow');
// meow('foo');
const gl = GL(800, 600);
console.log(gl != null);
This prints true
- all ok.
However when I uncomment meow('foo')
, I get false
. So for some reason GL
returns null now. Will look more into it, but maybe you have an idea. Is meow doing any global changes to the node environment?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Why Do Cats Make Weird Noises At Night? 7 Feline Sounds ...
Meowing. Did you know that cats very rarely communicate with other cats by meowing? This characteristic sound is your cat's way of telling...
Read more >MeowTalk Cat Translator - Apps on Google Play
Each cat has their own unique vocabulary that they use to communicate with their owners consistently when in the same context. For example,...
Read more >Why Do Kittens Meow a Lot? HELPFUL TIPS - YouTube
Your kitten is probably trying to tell you something. ... Subscribe to AnimalWised - https://goo. gl /70ZtOD AnimalWised Web ...
Read more >The Cat's Meow! Caterwauling in Cats - VCA Animal Hospitals
The cat's meow conveys many messages. “Hello." “Let me in.” “Let me out.” “Give me food.” “Clean my litter box.” You know your...
Read more >The cat meow | The Humane Society of the United States
Cats lack the facial expressiveness of dogs, they're generally quieter and their behaviors can be harder to interpret—but this doesn't mean that the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
As suggested there I upgraded to node v12.16.2 and now it works. I was running v12.11.1 before.
I did some binary search code elimination and I found that what’s causing it is this line:
https://github.com/sindresorhus/meow/blob/2954ed2e2f614952413abb91d9ee2f5286bac511/index.js#L80
@papb which OS are you on?
So basically the way to reproduce this is:
Returns false
If I comment out
process.title = 'foo'
, returnstrue