我的haskell程序无法运行(特别是堆栈运行不起作用)

问题描述 投票:0回答:1

错误:[S-7282] Stack 未能执行构建计划。

   While executing the build plan, Stack encountered the following errors:

   [S-7011]
   While building package fp2023-0.1.0.0 (scroll up to its section to see the error) using:
   ...

重装了 haskell、stack、cabal...尝试了几次。多次尝试堆栈清理、堆栈构建、堆栈升级...

visual-studio-code haskell haskell-stack haskell-platform ghcup
1个回答
0
投票

一种可能的解决方案是尝试使用 --no-strip 标志再次运行构建过程。这将阻止在构建过程中运行 strip 命令。

您可以通过运行以下命令来执行此操作: 堆栈构建--no-strip

这对我有用:)

© www.soinside.com 2019 - 2024. All rights reserved.