bpearson / atom-phpcs

PHP CodeSniffer package for Atom editor
MIT License
6 stars 1 forks source link

Error in atom console when saving a file #1

Closed tetedacier closed 10 years ago

tetedacier commented 10 years ago

Whenever I try to save a file, if this plugin is installed in atom, I've got this error in the console :

phpcs atom-phpcs.coffee:5
activate linter-php init.coffee:6
Uncaught Error: spawn ENOENT events.js:82

It seems that this bug appears in latest version of Atom (0.0.95+).

For information, I've got no other package installed, I removed all my installed package and add them one by one to find which package failed.

bpearson commented 10 years ago

I think part of what you are seeing is the console.log() I left in by mistake. Can you update or remove the console.log and see if it still happens? I think (but not 100% sure) that you are missing an events.js file which is not part of my plugin.

bpearson commented 10 years ago

It now has a config (in version 0.4.0), so this error should go away now. Still unable to replicate on my version.