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

"Unknown Error at line 1 col 1" and auto-open executable path file #50

Closed
ivanhercaz opened this issue Jul 3, 2015 · 3 comments
Closed
Labels

Comments

@ivanhercaz
Copy link

Hi everyone,
perhaps ask it looks a bit stupid, but I need an answer because I have tryed and tryed and the linter don't lint. As there isn't a which command on Windows 8 to make what you say on the settings file (make which scss-lint), I found on StackOverflow an interesting answer to "an alternative to which on Windows": where command.

So I tryed different ways with it to find the executable path, but nothing appeared. So I think that the executable should be on the Atom package folder. I went to that folder (C:/Users/$userName/.atom/packages/linter-scss-lint/lib), where there are an init.coffee and linter-scss-lint.coffee. I have tryed with each one, but with each one occurs the same error. Then, the issue dettected is only at the line 1 col 1, like in the title of this issue. The error shown is: Unknown Error at line 1 col 1

I have installed the main linter and the php linter works fine. What it could be happen with it?

Regards, Iván

@whaaaley
Copy link

whaaaley commented Jul 4, 2015

@Distriker I think you're supposed to be linking to the executable path of the ruby gem scss_lint not the linter package.

But, I'm having the same issue on OS X with this as my executable path:

/Users/foobar/.rvm/gems/ruby-2.2.1/bin/scss-lint

which is what I get when I do which scss-lint

I also tried:

/Users/foobar/.rvm/gems/ruby-2.2.1/bin/

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

I can confirm atom --dev "fixes" the problem.

@steelbrain
Copy link
Contributor

Fixed by #58

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

4 participants