Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Still not working on windows (code 3221225477) #27

Open
3nigm4 opened this issue Oct 22, 2018 · 3 comments
Open

Still not working on windows (code 3221225477) #27

3nigm4 opened this issue Oct 22, 2018 · 3 comments

Comments

@3nigm4
Copy link

3nigm4 commented Oct 22, 2018

Hi, thanks for your work on elm tooling / elm format, it is a wonderful tool! Please help me with this: Over the last year I have tried several times to set up elm-format on windows (we have to use windows 7 at work), but I just can't make it work in atom:

I get ("elm-format exited with code 3221225477") in atom:
elm format

I have tried all sorts of solutions.

  1. Installing node via nvm for windows, and then installing elm / elm-format via npm to avoid permission problems -> did not help
  2. using elm-platform -> extracting elm-format binary to folder elm.exe folder -> did not help
  3. running atom in admin mode -> did not help

I also checked and elm-format has the same permissions as elm.exe

elm3

BUT:
elm-format works from command line (see below) ... !?!? how can i make it also work in atom?
elm2

@aparent-emgs
Copy link

+1
I have the same exact error. Using Windows 7 Premium. I don't get the error when I rollback to the last version of the CLI elm-format (npm install -g [email protected]) and run it on a 0.18 project.

@edkelly303
Copy link

I have this error too. Windows 7 Home Premium, Elm 0.19, elm-format 0.8.1.

The previous version of elm-format worked fine with the atom-elm-format plugin on both Elm 0.18 and Elm 0.19 projects - it seems to be v0.8.1 that is the problem.

@avh4
Copy link

avh4 commented Feb 4, 2019

elm-format 0.8.1 and later require that either elm-format be invoked with the cwd set to the folder that contains your elm.json or elm-package.json, or that you provide the --elm-version= argument. In general, plugins need to be updated to work with this. (However, the next version of elm-format will make the auto-detection a bit smarter, which might solve this anyway: avh4/elm-format#561)

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

No branches or pull requests

4 participants