Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Opening sass file throw 'ENOENT' error on the atom console #7

Closed
fruqi opened this issue Sep 4, 2014 · 9 comments
Closed

Opening sass file throw 'ENOENT' error on the atom console #7

fruqi opened this issue Sep 4, 2014 · 9 comments
Labels

Comments

@fruqi
Copy link

fruqi commented Sep 4, 2014

I've followed the installation steps:

  • Install ruby
  • Install scss-lint gem
  • run: apm install linter-scss-lint

However, the following errors appear every time I open sass file.

activate linter-jshint
activate linter-scss-lint
Window load time: 3048ms
Uncaught Error: spawn ENOENT events.js:85
Uncaught Error: spawn ENOENT
Uncaught Error: spawn ENOENT 
@dmnd
Copy link
Member

dmnd commented Sep 4, 2014

See steelbrain/linter#150. Try starting Atom from a shell via atom to make sure it gets your PATH.

@dmnd
Copy link
Member

dmnd commented Sep 4, 2014

Also, you can set the path to the executable in settings.

@medialwerk
Copy link

I tried to set the path in my executable settings, but this solution doesn't work for me. Is this config correct?:

'linter-scss-lint':
  'scssLintExecutablePath': '/Users/me/.rbenv/shims'

Thanks! :-)

(Atom 0.127.0, Linter SCSS Lint 0.0.11)

@shawnacscott
Copy link

I'm also having this problem. I always launch from the shell, and added process.env.PATH = ["/Users/me/.atom/packages", process.env.PATH].join(":") to my init script as suggested here. These steps resolved the issue for every lint package I have installed except scss-lint. scss-lint actually crashed all of Atom for me yesterday, as reported here

screen shot 2014-10-06 at 10 31 44 am

@jclusso
Copy link

jclusso commented Nov 19, 2014

Having same issue also.

@quicoto
Copy link

quicoto commented Dec 15, 2014

Same here with Atom 0.158.0
I've installed the package through Atom

@ShaggyDude
Copy link

same here.

@nickroberts
Copy link

Any resolution for this?

@sillero
Copy link

sillero commented Feb 24, 2015

this did the trick for me (just followed the README instructions really)

'linter-scss-lint':
    'scssLintExecutablePath': '/Users/MYUSER/.rbenv/shims/scss-lint'

either that or

@steelbrain steelbrain added the bug label Jul 5, 2015
@iam4x iam4x closed this as completed Jul 5, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests