I can run spago build
and everything works fine.
I try to run spago repl
and I get build errors. The build errors are clearly from using outdated code from my own project (we removed a field from a record’s type
definition, but the error message is complaining that that field is not present when trying to create a value with that type in another file).
I’ve tried deleting all of the folders from ./.spago/ and rebuilding but I still get the same issue. Frankly I don’t even know where purs is caching this stuff when I run spago repl
, so I can’t clear out the outdated stuff. When I run spago repl -v
, the only debug messages are
[debug] Running `getGlobalCacheDir`
[debug] Running `spago repl`
[debug] Transformed config is the same as the read one, not overwriting it
[debug] Ensuring that the package set is frozen
[debug] Getting transitive deps
When I run with --global-cache=skip
, I get no difference.
My other output which seems to say where the source files are looks exactly as I’d expect:
spago.exe: callCommand: purs repl ".spago/aff/v5.1.2/src/**/*.purs" ".spago/aff-promise/v2.1.0/src/**/*.purs" ".spago/affjax/v10.0.0/src/**/*.purs" ".spago/ansi/v5.0.0/src/**/*.purs" ".spago/argonaut/v6.0.0/src/**/*.purs" ".spago/argonaut-codecs/v6.0.2/src/**/*.purs" ".spago/argonaut-core/v5.0.2/src/**/*.purs" ".spago/argonaut-traversals/v7.0.0/src/**/*.purs" ".spago/arraybuffer-types/v2.0.0/src/**/*.purs" ".spago/arrays/v5.3.1/src/**/*.purs" ".spago/avar/v3.0.0/src/**/*.purs" ".spago/bifunctors/v4.0.0/src/**/*.purs" ".spago/browser-cookies/v0.0.1/src/**/*.purs" ".spago/catenable-lists/v5.0.1/src/**/*.purs" ".spago/console/v4.4.0/src/**/*.purs" ".spago/const/v4.1.0/src/**/*.purs" ".spago/contravariant/v4.0.1/src/**/*.purs" ".spago/control/v4.2.0/src/**/*.purs" ".spago/datetime/v4.1.1/src/**/*.purs" ".spago/datetime-iso/v4.0.0/src/**/*.purs" ".spago/debug/v4.0.0/src/**/*.purs" ".spago/distributive/v4.0.0/src/**/*.purs" ".spago/effect/v2.0.1/src/**/*.purs" ".spago/either/v4.1.1/src/**/*.purs" ".spago/enums/v4.0.1/src/**/*.purs" ".spago/exceptions/v4.0.0/src/**/*.purs" ".spago/exists/v4.0.0/src/**/*.purs" ".spago/fixed-points/v5.1.0/src/**/*.purs" ".spago/foldable-traversable/v4.1.1/src/**/*.purs" ".spago/foreign/v5.0.0/src/**/*.purs" ".spago/foreign-object/v2.0.3/src/**/*.purs" ".spago/fork/v4.0.0/src/**/*.purs" ".spago/form-urlencoded/v5.0.0/src/**/*.purs" ".spago/formatters/v4.0.1/src/**/*.purs" ".spago/free/v5.2.0/src/**/*.purs" ".spago/functions/v4.0.0/src/**/*.purs" ".spago/functors/v3.1.1/src/**/*.purs" ".spago/gen/v2.1.1/src/**/*.purs" ".spago/generics-rep/v6.1.1/src/**/*.purs" ".spago/globals/v4.1.0/src/**/*.purs" ".spago/http-methods/v4.0.2/src/**/*.purs" ".spago/identity/v4.1.0/src/**/*.purs" ".spago/indexed-monad/v1.2.0/src/**/*.purs" ".spago/integers/v4.0.0/src/**/*.purs" ".spago/interpolate/v2.0.1/src/**/*.purs" ".spago/invariant/v4.1.0/src/**/*.purs" ".spago/js-date/v6.0.0/src/**/*.purs" ".spago/js-timers/v4.0.1/src/**/*.purs" ".spago/lazy/v4.0.0/src/**/*.purs" ".spago/lcg/v2.0.0/src/**/*.purs" ".spago/lists/v5.4.1/src/**/*.purs" ".spago/math/v2.1.1/src/**/*.purs" ".spago/maybe/v4.0.1/src/**/*.purs" ".spago/media-types/v4.0.1/src/**/*.purs" ".spago/mmorph/v5.1.0/src/**/*.purs" ".spago/newtype/v3.0.0/src/**/*.purs" ".spago/node-buffer/v6.0.0/src/**/*.purs" ".spago/node-fs/v5.0.1/src/**/*.purs" ".spago/node-path/v3.0.0/src/**/*.purs" ".spago/node-streams/v4.0.1/src/**/*.purs" ".spago/nonempty/v5.0.0/src/**/*.purs" ".spago/now/v4.0.0/src/**/*.purs" ".spago/nullable/v4.1.1/src/**/*.purs" ".spago/numbers/v7.0.0/src/**/*.purs" ".spago/options/v5.0.0/src/**/*.purs" ".spago/ordered-collections/v1.6.1/src/**/*.purs" ".spago/orders/v4.0.0/src/**/*.purs" ".spago/parallel/v4.0.0/src/**/*.purs" ".spago/parsing/v5.0.3/src/**/*.purs" ".spago/partial/v2.0.1/src/**/*.purs" ".spago/pipes/v6.0.0/src/**/*.purs" ".spago/prelude/v4.1.1/src/**/*.purs" ".spago/profunctor/v4.1.0/src/**/*.purs" ".spago/profunctor-lenses/v6.3.0/src/**/*.purs" ".spago/proxy/v3.0.0/src/**/*.purs" ".spago/psci-support/v4.0.0/src/**/*.purs" ".spago/quickcheck/v6.1.0/src/**/*.purs" ".spago/random/v4.0.0/src/**/*.purs" ".spago/react-basic/v13.0.0/src/**/*.purs" ".spago/react-basic-hooks/v5.0.0/src/**/*.purs" ".spago/record/v2.0.2/src/**/*.purs" ".spago/refs/v4.1.0/src/**/*.purs" ".spago/remotedata/v4.2.0/src/**/*.purs" ".spago/spec/v4.0.1/src/**/*.purs" ".spago/spec-discovery/v4.0.0/src/**/*.purs" ".spago/spec-quickcheck/v3.1.0/src/**/*.purs" ".spago/st/v4.1.1/src/**/*.purs" ".spago/string-parsers/v5.0.1/src/**/*.purs" ".spago/strings/v4.0.1/src/**/*.purs" ".spago/stringutils/v0.0.10/src/**/*.purs" ".spago/tailrec/v4.1.1/src/**/*.purs" ".spago/transformers/v4.2.0/src/**/*.purs" ".spago/tuples/v5.1.0/src/**/*.purs" ".spago/type-equality/v3.0.0/src/**/*.purs" ".spago/typelevel-prelude/v5.0.2/src/**/*.purs" ".spago/unfoldable/v4.1.0/src/**/*.purs" ".spago/unicode/v4.0.1/src/**/*.purs" ".spago/unsafe-coerce/v4.0.0/src/**/*.purs" ".spago/unsafe-reference/v3.0.1/src/**/*.purs" ".spago/validation/v4.2.0/src/**/*.purs" ".spago/web-dom/v4.0.1/src/**/*.purs" ".spago/web-events/v2.0.1/src/**/*.purs" ".spago/web-file/v2.3.0/src/**/*.purs" ".spago/web-html/v2.3.0/src/**/*.purs" ".spago/web-storage/v3.0.0/src/**/*.purs" ".spago/web-xhr/v3.0.2/src/**/*.purs" "src/**/*.purs"
Any ideas?