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

Failed to spawn command refmt #10

Open
captDaylight opened this issue Nov 7, 2017 · 4 comments
Open

Failed to spawn command refmt #10

captDaylight opened this issue Nov 7, 2017 · 4 comments

Comments

@captDaylight
Copy link

Error in red box:

Failed to spawn command refmt. Make sure refmt is installed and on your PATH

Atom 1.22.0

@janterlaak
Copy link

@petetnt
Copy link

petetnt commented Dec 1, 2017

Hi,

edit: Adding the path to both reason-reftm and linter-reftm directly solved the problem (I think)

I am having the same issue on OSX.

refmt is correctly set in path

▶ which refmt
/Users/Nykanen/.nvm/versions/node/v8.9.1/bin/refmt

▶ refmt --version
Reason 3.0.0 @ 5642559

▶ env | grep PATH
PATH=/Users/Nykanen/.rvm/gems/ruby-2.1.1/bin:/Users/Nykanen/.rvm/gems/ruby-2.1.1@global/bin:/Users/Nykanen/.rvm/rubies/ruby-2.1.1/bin:/Users/Nykanen/.nvm/versions/node/v8.9.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/Nykanen/.rvm/bin

I tried forcing the path in the settings to the v8.9.1/bin/refmt folder and the real folder it symlinks to (in v8.9.1/lib/node_modules/reason-cli/.bin/refmt) to no avail

Might have something to do with nvm?

@davidnaas
Copy link

I ran apm install language-ocaml linter ocaml-indent as shown here which made it work for me. Not sure which of the packages that made it work though

@MoOx
Copy link

MoOx commented Jan 9, 2018

I am facing the same issue. refmt is correctly installed and accessible in my PATH. I use nvm.
The fun part is that refmt is doing his job in Atom (reformat automatically on save).

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

5 participants