Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elm format not working "no such file or directory" #64

Open
kottkrig opened this issue Feb 13, 2019 · 1 comment
Open

Elm format not working "no such file or directory" #64

kottkrig opened this issue Feb 13, 2019 · 1 comment

Comments

@kottkrig
Copy link

Operating system: macOS 10.14.2
Sublime Text version: 3.1.1
Elm: 0.19.0
Elm-format: 0.8.1

I have both elm and elm-format installed and they are both available in my path. I have no trouble running them in my terminal.

Are there any obvious steps that are missing from the instructions in the readme? I'm getting the following error in the ST console whenever I run elm-format:

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 1072, in run_
    return self.run(edit)
  File "/Users/johan/Library/Application Support/Sublime Text 3/Installed Packages/Elm Language Support.sublime-package/elm_format.py", line 27, in run
  File "./python3.3/subprocess.py", line 819, in __init__
  File "./python3.3/subprocess.py", line 1448, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: 'elm-format'
@kottkrig
Copy link
Author

I've also tried to override the elm_paths setting in Elm Language Support.sublime-settings:

{
  "elm_paths": "/usr/local/bin/elm-format"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant