question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disk size with transitive dependencies: "13.15GB"

See original GitHub issue

Hi,

I’ve just started a new project and installed found with

yarn add found

Then I run yarn why found and I got the following results

core Login-UI🔒 ✏️ 2 yarn why found
yarn why v1.10.1
[1/4] 🤔  Why do we have the module "found"...?
[2/4] 🚚  Initialising dependency graph...
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found "found@0.3.14"
info Reasons this module exists
   - "_project_#core" depends on it
   - Hoisted from "_project_#core#found"
info Disk size without dependencies: "172MB"
info Disk size with unique dependencies: "6.1GB"
info Disk size with transitive dependencies: "13.15GB"
info Number of shared dependencies: 25
✨  Done in 9.71s.

Just to compare, I also tried it with react

core Login-UI🔒 ✏️ 2 yarn why react
yarn why v1.10.1
[1/4] 🤔  Why do we have the module "react"...?
[2/4] 🚚  Initialising dependency graph...
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found "react@16.7.0-alpha.0"
info Reasons this module exists
   - "_project_#core" depends on it
   - Hoisted from "_project_#core#react"
info Disk size without dependencies: "56MB"
info Disk size with unique dependencies: "256MB"
info Disk size with transitive dependencies: "276MB"
info Number of shared dependencies: 5
✨  Done in 7.43s.

Why are these found numbers extremely huge?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
taioncommented, Nov 16, 2018

I’m not seeing this:

$ yarn why found
yarn why v1.10.1
[1/4] 🤔  Why do we have the module "found"...?
[2/4] 🚚  Initialising dependency graph...
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found "found@0.3.14"
info Has been hoisted to "found"
info This module exists because it's specified in "devDependencies".
info Disk size without dependencies: "304KB"
info Disk size with unique dependencies: "7.45MB"
info Disk size with transitive dependencies: "18.18MB"
info Number of shared dependencies: 20
✨  Done in 7.58s.

Could it be something on your end?

0reactions
taioncommented, Nov 20, 2018

Yeah, I don’t know. It seems like it would be a Yarn bug, but I have no idea how or why…

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found