yujinakayama / atom-lint

Obsolete: Generic code linting support for Atom
https://atom.io/packages/atom-lint
MIT License
111 stars 33 forks source link

"Process exited with code 8" when trying to lint js #75

Closed vorou closed 10 years ago

vorou commented 10 years ago

I can see JSHint label in the statusbar, but no linting occurs. Here's what I see in inspector:

stack: "Error: Process exited with code 8↵  at c:\Users\vorou\.atom\packages\atom-lint\lib\linter\xml-base.coffee:14:29↵  at ChildProcess.<anonymous> (c:\Users\vorou\.atom\packages\atom-lint\lib\command-runner.coffee:99:7)↵  at ChildProcess.EventEmitter.emit (events.js:104:17)↵  at maybeClose (child_process.js:821:16)↵  at Socket.<anonymous> (child_process.js:1038:11)↵  at Socket.EventEmitter.emit (events.js:101:17)↵  at Pipe.close (net.js:459:12)↵"

Win8.1 x64, jshint v2.5.0, Atom 0.117.0, atom-lint 0.13.0

PS: also tried all of existing linting packages for atom, none of them work, am I cursed?

yujinakayama commented 10 years ago

Currently this package does not support Windows, though it does not mean that I won't add support for Windows.

guillaume86 commented 10 years ago

It should work now. I tested coffeescript and javascript.

vorou commented 10 years ago

Yep, I confirm. Thank you, I've been waiting for it.

guillaume86 commented 10 years ago

Broken again on windows, I had to replace env-store.coffee line 33 with

if current.PATH?.length >= cached.PATH?.length

because PATH is not defined on one of the two envs (no idea why)

yujinakayama commented 10 years ago

Thanks for the report. It should have fixed in 0.19.1.