This issue is blocking #1048 and #1000.
To update Spago here, I need to update registry-dev libraries. However, registry-dev libs depend on spago/core, which depends on node-fs-aff. Even if I workaround this in the registry-dev libs by overriding spago/core's dependencies with my own, the fact remains that it's using old Node libraries, so compiling core on the Registry side fails with this error. See purescript/registry-dev#671 for more context:
[1/3 TypesDoNotUnify] .spago/packages/spago-core/47b735c5845a084f40826ae1989c3dc6c9171f21/core/src/Log.purs:161:23
161 Effect.liftEffect $ Process.exit 1
^^^^^^^^^^^^^^
Could not match type
Effect
with type
Function Int
while trying to match type Effect t1
with type Int -> t2
while checking that expression exit 1
has type Effect t0
in value declaration die'
where t0 is an unknown type
t1 is an unknown type
t2 is an unknown type
because Process.exit was changed in the Node libs:
-Process.exit :: Effect Unit
+Process.exit' :: Int -> Effect Unit
This issue is blocking #1048 and #1000.
To update Spago here, I need to update
registry-devlibraries. However,registry-devlibs depend onspago/core, which depends onnode-fs-aff. Even if I workaround this in theregistry-devlibs by overridingspago/core'sdependencieswith my own, the fact remains that it's using old Node libraries, so compilingcoreon the Registry side fails with this error. See purescript/registry-dev#671 for more context:because
Process.exitwas changed in the Node libs: