Replies: 2 comments
-
A couple points to help you catch this in the future:
Some things that we'd like to do on our end to make the experience better:
|
Beta Was this translation helpful? Give feedback.
-
Note: this usability bug would be fixed by #4108. |
Beta Was this translation helpful? Give feedback.
-
I am not sure how to exactly formulate the problem, so I will start by describing a scenario:
I have a project with the following structure:
I have the following directory structure:
The ml/dune:
ml/extracted/dune:
Doing
dune build test.ext
under ml complains:Error: Library “extracted” not found.
I've spent a lot of time to figure out why this is happening. It turns out the problem was in presence of
extracted/dune-project
file! If this file present, build fails with a cryptic error message. Removing this file fixes the problem.Some thoughts:
dune
inextracted
directory.It looks like the file auto-creation is a dangerous operation as it could break your build. Also, error reporting could be improved.
Beta Was this translation helpful? Give feedback.
All reactions