purescript / registry-dev

Development work related to the PureScript Registry
https://github.com/purescript/registry
95 stars 80 forks source link

Update Node deps to breaking changes #671

Closed JordanMartinez closed 9 months ago

JordanMartinez commented 9 months ago

Currently fails with these errors when I call spago build. I didn't look into the 2nd/3rd error because I'm blocked by the first one:

[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

[2/3 TypesDoNotUnify] app/src/Fetch/Retry.purs:73:51

  73    coreResponse <- Promise.Aff.toAffE $ Core.fetch request
                                                        ^^^^^^^

  Could not match type
    Request
  with type
    Request
  while checking that type Request
    is at least as general as type Request
  while checking that expression request
    has type Request
  in value declaration fetch

[3/3 TypesDoNotUnify] foreign/src/Foreign/Gzip.purs:27:19

  27    toRequestBody = gzipToRequestBody
                        ^^^^^^^^^^^^^^^^^

  Could not match type
    RequestBody
  with type
    RequestBody
  while checking that type Gzip -> RequestBody
    is at least as general as type t0 -> RequestBody
  while checking that expression gzipToRequestBody
    has type t0 -> RequestBody
  where t0 is an unknown type

           Src   Lib   All
Warnings     0     0     0
Errors       2     1     3

❌ Failed to build.
thomashoneyman commented 9 months ago

@JordanMartinez this should be unblocked now (no more spago-core dependency)

JordanMartinez commented 9 months ago

Yup! Thanks!

JordanMartinez commented 9 months ago

CI builds!