Answer the question
In order to leave comments, you need to log in
How can I build a project on the stack?
After the stack build command , I get:
Please tell me, who knows how to deal with this?
Answer the question
In order to leave comments, you need to log in
The presence of a README does not affect the build.
Such errors occur when the build was interrupted via Ctrl+C or was simultaneously launched from several places (terminal + IDE for example).
It is treated stack clean
by deleting .stack-work
and starting again.
If it's really bad, then delete everything and unload the project code again.
Plus, Windows still has its own problems with the linker. Usually treated by updating to the latest GHC.
PS: A question from three years ago, since then a little protection against this has been added to the stack and it happens less often.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question