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.

Error: “Size Limit can't resolve fs”

See original GitHub issue

When attempting to run size-limit, I get this error:

 ERROR  Size Limit can't resolve
        fs
        in /Users/jaydenseric/Sites/apollo-upload-server/node_modules/busboy/lib

When using "webpack": false the error does not appear.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:20 (11 by maintainers)

github_iconTop GitHub Comments

3reactions
aicommented, Jun 9, 2018

We can do:

  1. npm pack
  2. unzip package to temporary dir
  3. npm install
  4. Check dir size

But we must to do it in separated project. Maybe package-limit?

2reactions
aicommented, Jun 7, 2018

@styfle I very like the project. It will be more accurate than Size Limit since it will calculate also non-jS files. Do you have CI tool to run it in Travis CI?

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