elm/compiler

Elm fails to build on Windows 10

Opened this issue · 2 comments

After running elm make .\src\Main.elm --output public/elm.js I get the error output

elm.exe: getMBlocks: VirtualAlloc MEM_COMMIT failed: The paging file is too small for this operation to complete.

This is the first time I've encountered this on Windows, typically my apps build fine.

Thanks for reporting this! To set expectations:

  • Issues are reviewed in batches, so it can take some time to get a response.
  • Ask questions in a community forum. You will get an answer quicker that way!
  • If you experience something similar, open a new issue. We like duplicates.

Finally, please be patient with the core team. They are trying their best with limited resources.

I deleted my node_modules and my package-lock.json and re-installed and it seems to be working now. Just odd as this is the first time I've ever encountered this error.