A
A
A_DinamiTT2017-03-30 21:59:01
Haskell
A_DinamiTT, 2017-03-30 21:59:01

How can I build a project on the stack?

After the stack build command , I get:
f17ba7d600f04a5eb919652131cd668b.png
Please tell me, who knows how to deal with this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
wiz, 2020-12-29
@wiz

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 cleanby deleting .stack-workand 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 question

Ask a Question

731 491 924 answers to any question