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

Failed to spawn error with Atom 0.166.0. #14

Closed
bobrocke opened this issue Jan 6, 2015 · 27 comments
Closed

Failed to spawn error with Atom 0.166.0. #14

bobrocke opened this issue Jan 6, 2015 · 27 comments
Labels

Comments

@bobrocke
Copy link

bobrocke commented Jan 6, 2015

Error in red dialog box in upper right corner:

Failed to spawn command scss-lint. Make sure scss-lint is installed and on your PATH

This just started with Atom 0.166.0. It didn't so it before.

@bobrocke
Copy link
Author

bobrocke commented Jan 8, 2015

I have the same error with Atom 0.168.0.

I ran which scss-lint and got back /Users/bob/.rvm/gems/ruby-2.0.0-p247@rails3/bin/scss-lint

So I added

'linter-scss-lint':
      'scssLintExecutablePath': '/Users/bob/.rvm/gems/ruby-2.0.0-p247@rails3/bin/scss-lint'

to my Atom config file.

I still get the same error about scss-lint not being installed.

@InSuperposition
Copy link

👍
I get a similar error, I am also using RVM.

@karl-wednesday
Copy link

I started experiencing the same issue since sometime in early January. Everything seemed to be working fine prior to that.

As far as I'm aware, the only thing that has changed is that I have updated Atom and all of its installed packages using Atom's built in updater, so perhaps the issue was introduced due to the Atom 0.166.0 update as @bobrocke suggests.

Unlike the other reporters, I am using rbenv via Homebrew.

which scss-lint reports that my path is /Users/karl/.rbenv/shims/scss-lint

@bobrocke
Copy link
Author

Any progress with this? It's a problem and I don't know of another Atom SCSS linter.

@jclusso
Copy link

jclusso commented Feb 2, 2015

yea, still waiting on an update for this.

@nickroberts
Copy link

I get the same thing on 0.177.0.

@nickroberts
Copy link

I started Atom via the command line, and it worked. Odd.

This still should be addressed, me thinks.

Using rvm, as well.

@bobrocke
Copy link
Author

bobrocke commented Feb 6, 2015

Has this plug-in been abandoned?

@bobrocke
Copy link
Author

bobrocke commented Feb 7, 2015

I wonder if anyone using rbenv is having this problem?

@bobrocke
Copy link
Author

bobrocke commented Feb 7, 2015

Yes, I see that @karl-wednesday is using it. Dang.

@InSuperposition
Copy link

@nickroberts I get the same results. This issue may directly be related to AtomLinter or Atom Itself. steelbrain/linter#150

@maban
Copy link

maban commented Mar 25, 2015

I'm getting this too. Opening Atom from the command line instead of the dock worked, but it's not an ideal solution.

@simmerz
Copy link

simmerz commented Jun 12, 2015

Getting this too with rbenv. It looks like it's because Atom is started without the user profile, so the version of ruby it sees isn't the same version that the terminal sees. Hence why starting from the terminal works.

@bobrocke
Copy link
Author

@simmerz That's an interesting observation! How can I tell what version Atom finds when started from the terminal? Maybe I can configure scss-lint there?

@bobrocke
Copy link
Author

Here's an issue with a resolution that worked for me: #39

@steelbrain steelbrain added the bug label Jul 5, 2015
@steelbrain
Copy link
Contributor

Fixed by #58

@idmarjr
Copy link

idmarjr commented Oct 13, 2015

Hello guys!
I follow the instructions from readme.md to install linter-scss-lint and looks like this issue is happening again :( (At least for me).

MacOSX 10.11
Atom 1.0.19

screen shot 2015-10-13 at 15 42 58

Any ideas of how can I fix it?

@Arcanemagus
Copy link
Member

@idmarjr OS X "helps" you by striping the environment from any application launched from the GUI. You can either launch Atom from a terminal window, or specify the path the scss-lint in the settings.

@idmarjr
Copy link

idmarjr commented Oct 13, 2015

@Arcanemagus I tried launch it from terminal.app but even this way it still happening. :/

@steelbrain
Copy link
Contributor

@idmarjr try specifying a full path to it in settings.

@idmarjr
Copy link

idmarjr commented Oct 13, 2015

@steelbrain Awesome! It works.
I ran which sass-lint in terminal and than copy the returned path.
Go to Atom > Preferences > Packages > linter-css-lint > Settings and past that path in Executable Path field.

Appreciate your help guys!

@AidenWri
Copy link

Suddenly getting this error after upgrading to Atom V1.3.1

@Arcanemagus
Copy link
Member

@RhianWright have you tried specifying the full path as outlined a few times in this thread?

@graysonhicks
Copy link

Go to Atom > Preferences > Packages > linter-css-lint > Settings and paste that path in Executable Path field.

@steelbrain @idmarjr This works, thanks!

@fahimfarookme
Copy link

Apparently the atom-scss-lint does not install the scss-lint gem. Try installing the gem manually.
gem install scss_lint

@Arcanemagus
Copy link
Member

@fahimfarookme That's part of the readme's installation steps: https://github.com/AtomLinter/linter-scss-lint#scss-lint-installation 😉.

@webzorg
Copy link

webzorg commented Aug 1, 2016

RVM case. http://stackoverflow.com/questions/26247926/how-to-solve-usr-bin-env-ruby-executable-hooks-no-such-file-or-directory
which scss-lint, put the path in plugin default executable and change bin with wrappers.

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