Skip to content

loadObj error

Summary

When trying to build a project, an error is thrown

ghc.EXE: loadObj: <PROJECT_DIR>\.stack-work\install\891ce259\lib\x86_64-windows-ghc-8.6.5\persistent-template-2.7.1-E4zlp1cE446D6BskWxe7mY\HSpersistent-template-2.7.1-E4zlp1cE446D6BskWxe7mY.o: file doesn't exist

I navigate to this directory, and I find this file.

Steps to reproduce

Expected behavior

Above error is thrown, and build is not completed.

Environment

  • GHC version used: 8.6.5 (as printed with error message, but stack.yaml configuration is lts 13.25)

Optional:

  • Operating System: Windows 10
  • System Architecture: x64
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information