Skip to content

Size of node_modules bigger with Yarn compared to NPM #2088

Closed
@danielkcz

Description

@danielkcz

Do you want to request a feature or report a bug?
More likely feature, but might be hidden bug as well

What is the current behavior?
Installing this package.json yields these results:

Yarn: 206MB, 44365 files, 5638 folders
NPM: 171MB, 30309 files, 4574 folders

If the current behavior is a bug, please provide the steps to reproduce.
Everything is in the gist. Also I have zipped both installed folders to ensure you can see what I see.

What is the expected behavior?
Difference is not that big here yet, but I had to strip that package.json of some private modules, but has certainly growing nature. In all cases everything is working as it supposed to.

Please mention your node.js, yarn and operating system version.
Node 6.9.1, Yarn 0.17.7, Windows 10 x64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions