spago icon indicating copy to clipboard operation
spago copied to clipboard

Failed to find purs

Open giuliano-abinbev opened this issue 9 months ago • 6 comments

Running spago build from github workflow getting this error

Image
> spago build


✘ Failed to find purs. Have you installed it, and is it in your PATH?

 ELIFECYCLE  Command failed with exit code 1.
 ELIFECYCLE  Command failed with exit code 1.

giuliano-abinbev avatar Feb 06 '25 02:02 giuliano-abinbev

Have you checked that purs is in your path, as the error message suggests?

f-f avatar Feb 06 '25 09:02 f-f

I checked and it's there, I also tried re-installing both purescript and spago before building

Image

giuliano-abinbev avatar Feb 06 '25 17:02 giuliano-abinbev

What's the spago version?

f-f avatar Feb 06 '25 17:02 f-f

0.93.42

Image

giuliano-abinbev avatar Feb 06 '25 18:02 giuliano-abinbev

I see. Do you have a repro I can have a look at?

f-f avatar Feb 06 '25 18:02 f-f

I'll try to find some time to recreate it in a public repo

giuliano-abinbev avatar Feb 07 '25 02:02 giuliano-abinbev