-
Notifications
You must be signed in to change notification settings - Fork 148
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
0.8.6 failing to run on Windows #801
Comments
Steps to reproduce and system information always helps! |
SpecsEdition: Windows 11 Enterprise Processor: 12th Gen Intel(R) Core(TM) i7-1260P 2.10 GHz Steps to Reproduce
ResultsStdout: none |
I am also experiencing this issue on Windows 10 |
Booted my Windows machine, and it happens to me as well. Here are the commands I used in case it helps @avh4:
Observations:
|
Hmm, "Exit code: -1073741515" apparently means an issue with .DLL linking https://stackoverflow.com/questions/38246420/what-does-exitcode-1073741502-mean I've just been relying on ghc (the Haskell compiler) for Windows to do the right thing, and I don't know much about Windows dynamic linking myself. Does anyone know the right Windows commands to check what dynamic libraries the binary thinks it needs, and compare the output for the 0.8.5 binary vs the 0.8.6 binary? |
I tried to turn on more static binary stuff. Can someone with the issue try this binary and see if it's any better? https://github.com/avh4/elm-format/suites/11319096083/artifacts/581295507 |
That does resolve the issue for me 👍🏻 |
That one executes on my Windows machine as well! |
@avh4 I recommend marking 0.8.6 as deprecated and re-releasing as 0.8.7. |
Thanks, I'm a bit hesitant to make this fix a full release, since that will make extra work for the nixpkgs and homebrew folks who will have to do a useless release. I've published |
Upstream issue: avh4/elm-format#801
Ok, I see what you mean, but it feels like Windows npm users are going to suffer from this for a long time. |
I was debating about setting the npm Also, I'm planning on 0.8.7 (or maybe called 0.10.0) next month anyway. |
|
Reopening. (not sure why github auto closed it) |
I think my plan for the moment is to see if I can get the planned 0.8.7 ready in the next week, and then just mark 0.8.6 deprecated once that's released. 🤔
I've been saving odd-numbered versions like that for "experimental" releases, meaning they have features or formatting decisions that may or may not be reverted in the next stable release. I guess it's been a while (2017) since I've had any experimental features, but there are a few coming up soon. |
elm-format 0.8.7 is now released, which should fix the problem. I've also just deprecated the 0.8.6 npm package with a message recommended to upgrade to 0.8.7. Version Please open a new issue if there are problems with 0.8.7. Thanks! |
is now released ;) |
We're using 0.8.7 on Windows without issue, thanks all! |
Note from maintainer:
Note, this only affects folks using the npm installer on Windows. If your team doesn't use Windows, or if you use Windows but install via elm-tooling or by manually downloading binaries, then you can use 0.8.6 as normal.
If you are installing via npm and using Windows, then you'll need one of the following workarounds until the next (0.8.7) release is published:
0.8.5
0.8.6-windows
(this version still works on any platform, but will use the fixed binaries on when Windows)Original issue follows:
We upgraded to 0.8.6 via elm-tooling (but have also used the release asset directly), and we're getting error codes without any output whenever we try to run
elm-format
(orelm-format --version
orelm-format --help
). We're using a Windows environment.Happy to do any troubleshooting if there's something I can do. Thanks!
The text was updated successfully, but these errors were encountered: