# File operation error when starting ERTS in windows 10

**URL:** <https://erlangforums.com/t/file-operation-error-when-starting-erts-in-windows-10/597>\
**Category:** Questions / Help\
**Tags:** troubleshooting, windows, erts\
**Created:** [November 18, 2021, 3:15am UTC](https://erlangforums.com/t/file-operation-error-when-starting-erts-in-windows-10/597 "2021-11-18T03:15:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![agingras](https://erlangforums.com/letter_avatar_proxy/v4/letter/a/278dde/32.png) [@agingras](https://erlangforums.com/u/agingras)\
**Post date:** [November 18, 2021, 3:15am UTC](https://erlangforums.com/t/file-operation-error-when-starting-erts-in-windows-10/597/1 "2021-11-18T03:15:50Z")

</div>

Been using erlang for a while now and between yesterday and today started getting the following:

```nohighlight
=ERROR REPORT==== 17-Nov-2021::21:24:34.487000 ===
File operation error: enxio. Target: d:/GitHub/proper/_build/default/lib/proper/ebin.beam. Function: get_file. Process: code_server.

Erlang version 24.1.5
Eshell version 12.1.5
WIndows version 10.0.19044.1348

```

No idea what this error means, nor why it started happening, what changed, …

Have tried uninstalling and reinstalling erlang. Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![starbelly](https://erlangforums.com/user_avatar/erlangforums.com/starbelly/32/209_2.png) [@starbelly](https://erlangforums.com/u/starbelly)\
**Post date:** [November 18, 2021, 3:31am UTC](https://erlangforums.com/t/file-operation-error-when-starting-erts-in-windows-10/597/2 "2021-11-18T03:31:14Z")

</div>

I would blow away your `_build` directory and try again re-building. I’m not sure if you have a typo in the path there, but `ebin.beam` looks very funny. `ebin` should be a directory that contains `.beam` files (e.g., `proper.beam`, `proper_arith.beam`, `proper_array.beam`, etc.).

The error of course may be unrelated to the file perhaps. `enxio` means there was a problem communicating with a device or was it not found (No such device or address). This is odd, as it’s like you’re trying to open a special file (device, fifo, etc.).

---

<div class="post-metadata">

**Author:** ![agingras](https://erlangforums.com/letter_avatar_proxy/v4/letter/a/278dde/32.png) [@agingras](https://erlangforums.com/u/agingras)\
**Post date:** [November 18, 2021, 7:59pm UTC](https://erlangforums.com/t/file-operation-error-when-starting-erts-in-windows-10/597/3 "2021-11-18T19:59:34Z")

</div>

I appreciate the suggestion but I did not build erlang myself. I downloaded and installed the Windows Installer from [erlang.org](http://erlang.org). And it was working, then it wasn’t! So it didn’t happen from the start. My wonder is if there is some file that ERTS is using that somehow got locked and now I can’t open it. Is there some log file somewhere that will give me more information on the cause of the error?

---

<div class="post-metadata">

**Author:** ![agingras](https://erlangforums.com/letter_avatar_proxy/v4/letter/a/278dde/32.png) [@agingras](https://erlangforums.com/u/agingras)\
**Post date:** [November 18, 2021, 10:33pm UTC](https://erlangforums.com/t/file-operation-error-when-starting-erts-in-windows-10/597/4 "2021-11-18T22:33:28Z")

</div>

Found the issue in my .erlang file (which I had forgotten I had set up). There was a call to code\_load\_abs in there that frankly I don’t remember putting in, nor remember what it was for! Thanks for your help, believe it or not your comment helped clue me in to the issue.

---

<div class="post-metadata">

**Author:** ![starbelly](https://erlangforums.com/user_avatar/erlangforums.com/starbelly/32/209_2.png) [@starbelly](https://erlangforums.com/u/starbelly)\
**Post date:** [November 19, 2021, 1:40am UTC](https://erlangforums.com/t/file-operation-error-when-starting-erts-in-windows-10/597/5 "2021-11-19T01:40:20Z")

</div>

I’m glad it led broke you out of your error loop! And that’s a bit of info I will still in my back pocket for the future as well. Cheers 🙂
