Skip to content

Yarn installation fails as dependencies cannot be fetched #1046

@niclashedam

Description

@niclashedam

Hi -- long time no see! 😄

I hope you are well. I am trying to download a fresh installation of Alfa and build it.
I, however, fail to install some or all dependencies. My yarn issues are constrained to the Alfa repository.

~/Development/alfa main
❯ node -v
v17.0.1

~/Development/alfa main
❯ yarn -v
3.0.2

~/Development/alfa main
❯ yarn install
➤ YN0000: ┌ Resolution step
➤ YN0060: │ @siteimprove/alfa-angular@workspace:packages/alfa-angular provides rxjs (p5a2b8) with version 7.3.0, which doesn't satisfy what @angular/core requests
➤ YN0002: │ @siteimprove/alfa-vue@workspace:packages/alfa-vue doesn't provide jsdom (pbb029), requested by jsdom-global
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0013: │ @babel/plugin-syntax-logical-assignment-operators@npm:7.10.4 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-syntax-nullish-coalescing-operator@npm:7.8.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-syntax-numeric-separator@npm:7.10.4 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-syntax-object-rest-spread@npm:7.8.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-syntax-optional-catch-binding@npm:7.8.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:371:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:122:30)
    at PassThrough.emit (node:events:390:28)
    at emitCloseNT (node:internal/streams/destroy:145:10)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
➤ YN0013: │ @babel/plugin-syntax-optional-chaining@npm:7.8.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:371:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:122:30)
    at PassThrough.emit (node:events:390:28)
    at emitCloseNT (node:internal/streams/destroy:145:10)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
➤ YN0013: │ @babel/plugin-syntax-top-level-await@npm:7.12.13 can't be found in the cache and will be fetched from the remote registry
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:371:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:122:30)
    at PassThrough.emit (node:events:390:28)
    at emitCloseNT (node:internal/streams/destroy:145:10)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
➤ YN0013: │ @babel/plugin-syntax-typescript@npm:7.14.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:371:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:122:30)
    at PassThrough.emit (node:events:390:28)
    at emitCloseNT (node:internal/streams/destroy:145:10)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugReport of unexpected or faulty behaviour in Alfa

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions