Open dszmaj opened 8 years ago
Could you open the Developer Tools Ctrl+Shift+I, and try
require("child_process").execFileSync("npm", ["root", "-g"], {encoding: "utf8"})
there?
@tensor5 Tried that, didn't change anything
@chenasraf did you opt for Use global JSLinter installation
? If so, I assume you installed JSLinter with npm install -g jslinter
. Alternatively you can install JSLinter in your home:
cd ~/.atom/packages/linter-jslinter
npm install jslinter
I just like to add these two: In short, I had been trying to add js linting globally, so I tried installing jslinter(npm) globally. As seen from the screenshots, I had to manually set the path to it. Otherwise, local installation works fine :) Cheers, Kostadin
Addendum: in case anyone's using yarn, here's a hint where to look for:
[Enter steps to reproduce below:]
Atom Version: 1.8.0 System: Microsoft Windows 10 Pro Thrown From: linter-jslinter package, v0.1.1
Stack Trace
Failed to load the linter-jslinter package
Commands
Config
Installed Packages