Open gschare opened 1 year ago
@tcatapano
getting this error:
~/Github/issue-tracker-archive (main) $ stack --resolver lts script --package aeson --package pandoc build.hs
Selected resolver: lts-19.29
Using resolver: lts-19.29 specified on command line
[1 of 2] Compiling Main ( /Users/thc4/.stack/setup-exe-src/setup-mPHDZzAJ.hs, /Users/thc4/.stack/setup-exe-src/setup-mPHDZzAJ.o )
<no location info>: error:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM between [9 and 13)
ghc-9.0.2: could not execute: opt
-- While building simple Setup.hs (scroll up to its section to see the error) using:
/Users/thc4/.stack/programs/aarch64-osx/ghc-9.0.2/bin/ghc-9.0.2 -rtsopts -threaded -clear-package-db -global-package-db -hide-all-packages -package base -main-is StackSetupShim.mainOverride -package Cabal-3.4.1.0 /Users/thc4/.stack/setup-exe-src/setup-mPHDZzAJ.hs /Users/thc4/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs -o /Users/thc4/.stack/setup-exe-cache/aarch64-osx/tmp-Cabal-simple_mPHDZzAJ_3.4.1.0_ghc-9.0.2
Process exited with code: ExitFailure 1
https://docs.haskellstack.org/en/stable/GUIDE/#using-multiple-packages
Put this at the top of the Haskell file: