Glavin001 / atom-beautify

:mega: Help Wanted - Looking for Maintainer: https://github.com/Glavin001/atom-beautify/issues/2572 | :lipstick: Universal beautification package for Atom editor (:warning: Currently migrating to https://github.com/Unibeautify/ and have very limited bandwidth for Atom-Beautify Issues. Thank you for your patience and understanding :heart: )
http://unibeautify.com/
MIT License
1.5k stars 453 forks source link

TypeError: Cannot read property 'on' of undefined #2386

Open ODCA117 opened 5 years ago

ODCA117 commented 5 years ago

When I try to beautify the i get the following problem TypeError: Cannot read property 'on' of undefined

I just installed beautify and uncrustify

https://gist.github.com/ODCA117/917affd6b11437517535a45350379820

jdeters commented 5 years ago

+1 I am also having this issue

TheDarkTron commented 4 years ago

+1

Bossax commented 4 years ago

I got the same problem.

StefanK82 commented 4 years ago

+1 I have this issue too. Is there a comment on this somewhere?

dsplz commented 4 years ago

same

Glavin001 commented 4 years ago

Looking at the attached logs: https://gist.github.com/ODCA117/917affd6b11437517535a45350379820#logs

2019-09-05T07:19:49.820Z - error: [beautifiers/index.coffee]  message=Cannot read property 'on' of undefined, stack=TypeError: Cannot read property 'on' of undefined
    at /home/olle/.atom/packages/atom-beautify/src/beautifiers/executable.coffee:242:18

The error comes from here: https://github.com/Glavin001/atom-beautify/blob/master/src/beautifiers/executable.coffee#L238-L242

Pull Requests from community very welcome! Let me know if you have any questions. Thanks!

jgolding94 commented 4 years ago

I'm now having the same problem. Atom Beautify was working fine but I've just installed PHP-CS-Fixer and that's when it stopped. How do I correct it? I'm using Mac OS.

jennysjaarda commented 4 years ago

I'm having the same problem...

touhidulshawan commented 4 years ago

No update in this issue 😥