Closed aichaku closed 6 years ago
Got the same problem. Did you manage to get it sorted? Windows 10
As the error is telling you you need to have cpplint
installed on your system and available in the %PATH%
(or manually specified in the settings) for this package to work.
Already done that, hence the question
If you did, you wouldn't be getting that message in the console 😛.
What do you get when you run where.exe cpplint
in a console (PowerShell, cmd.exe
)?
Same problem here. From a cmd.exe
console (and also from the MSYS2 console) where cpplint
gives me:
D:\Python36\Scripts\cpplint.exe
I installed cpplint with pip install cpplint
(with Python 3.6).
I can start cpplint from a cmd.exe
console without any problem (also from the MSYS2 terminal).
But atom still complains:
[Linter] Error running cpplint Error: Failed to spawn command `cpplint`. Make sure `cpplint` is installed and on your PATH at C:\Users\Olivier\.atom\packages\linter-cpplint\node_modules\atom-linter\lib\helpers.js:102:24
I also tried the same with Python 2.7 with the same bad result.
I found a solution by setting the full path to cpplint (e.g. D:\Python36\Scripts\cpplint
) in atom settings... Not very nice, but it works.
If you close all instances of Atom, then launch it from the shell where cpplint
works, does it work without the setting?
That's what I did. I closed Atom and relaunched it from the shell where cpplint
works and I always got the same error (Failed to spawn command cpplint
...).
Thanks for your comment. It just slipped my mind that I opened this issue. I'll close right away.
The developer tool emitted the error below even though the package is right there.