Skip to content

0.5.17 Breaks Yarn PnP installations #272

@Mike-Dax

Description

@Mike-Dax
WARNING in ./.yarn/cache/source-map-support-npm-0.5.17-afcc0d09fa-2.zip/node_modules/source-map-support/source-map-support.js
Module not found: Error: A package is trying to access another package without the second one being listed as a dependency of the first one

Required package: worker_threads (via "worker_threads")
Required by: source-map-support@npm:0.5.17 (via /~/test/.yarn/cache/source-map-support-npm-0.5.17-afcc0d09fa-2.zip/node_modules/source-map-support/source-map-support.js)

I believe this is due to the dynamic require of worker_threads.

I'm not sure if it's possible to avoid a dynamic require in this package or if Yarn PnP should support dynamic requires of inbuilt Node modules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions