# Dune 'File unavailable' error?

**URL:** <https://discuss.ocaml.org/t/dune-file-unavailable-error/7796>\
**Category:** Ecosystem\
**Created:** [May 6, 2021, 1:24pm UTC](https://discuss.ocaml.org/t/dune-file-unavailable-error/7796 "2021-05-06T13:24:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![progman](https://avatars.discourse-cdn.com/v4/letter/p/8797f3/32.png) [@progman](https://discuss.ocaml.org/u/progman)\
**Post date:** [May 6, 2021, 1:24pm UTC](https://discuss.ocaml.org/t/dune-file-unavailable-error/7796/1 "2021-05-06T13:24:26Z")

</div>

I get this error for any name I care to give the  
lead module:

```auto
(name xx

```

when attempting to compile to native xx.exe (byte is ok)  
does anyone know what this means?

---

<div class="post-metadata">

**Author:** ![ivg](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/ivg/32/103_2.png) [@ivg](https://discuss.ocaml.org/u/ivg)\
**Post date:** [May 6, 2021, 7:54pm UTC](https://discuss.ocaml.org/t/dune-file-unavailable-error/7796/2 "2021-05-06T19:54:46Z")

</div>

Can you please elaborate? Ideally show the `tree` of your repository? And please provide a full error output.

---

<div class="post-metadata">

**Author:** ![progman](https://avatars.discourse-cdn.com/v4/letter/p/8797f3/32.png) [@progman](https://discuss.ocaml.org/u/progman)\
**Post date:** [May 6, 2021, 9:28pm UTC](https://discuss.ocaml.org/t/dune-file-unavailable-error/7796/3 "2021-05-06T21:28:32Z")

</div>

that is the full error message!  
it emanates from

> <https://github.com/ocaml/dune/blob/main/src/dune_engine/build_system.ml#1190>

and was rather hoping someone familiar with the code could say what it ‘means’

---

<div class="post-metadata">

**Author:** ![yawaramin](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/yawaramin/32/3384_2.png) [@yawaramin](https://discuss.ocaml.org/u/yawaramin)\
**Post date:** [May 6, 2021, 10:49pm UTC](https://discuss.ocaml.org/t/dune-file-unavailable-error/7796/4 "2021-05-06T22:49:58Z")

</div>

Can you post a small repro that demonstrates the issue? Can’t really debug it without that.

---

<div class="post-metadata">

**Author:** ![progman](https://avatars.discourse-cdn.com/v4/letter/p/8797f3/32.png) [@progman](https://discuss.ocaml.org/u/progman)\
**Post date:** [May 8, 2021, 6:51pm UTC](https://discuss.ocaml.org/t/dune-file-unavailable-error/7796/5 "2021-05-08T18:51:51Z")

</div>

The link I gave was meant to show line 1190 from where the error is raised.  
I do not have a repo and am looking at alternatives now github has got annoying with device authentication ad nauseum.  
Perhaps one of the developers of dune who frequent this forum could comment on the intent behind the error message of line 1190 of the file linked to?
