<div dir="ltr">Trying to learn stack. I'm following the tutorial on this page:<div><br></div><div><a href="https://docs.haskellstack.org/en/stable/GUIDE/">https://docs.haskellstack.org/en/stable/GUIDE/</a><br></div><div><br></div><div>I built helloworld. Then I modified Lib.hs to include <a href="http://Data.Text.IO">Data.Text.IO</a>, as the tutorial specifies. I typed 'stack build' and got the error that the text package wasn't installed, as the tutorial says I would. I then modified helloworld.cabal to have these lines:</div><div><br></div><div><div><font face="monospace, monospace">  build-depends:       base</font></div><div><font face="monospace, monospace">                     , helloworld</font></div><div><font face="monospace, monospace">                     , text</font></div></div><div><br></div><div>and typed 'stack build' again. I got the exact same  output - an error on building Lib.hs, 'Failed to load interface for <a href="http://Data.Text.IO">Data.Text.IO</a>. I checked that I really modified al lthe right files and can't find anything I did wrong.</div><div><br></div></div>