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.

Large 'scratch' folder being distributed

See original GitHub issue

Please tell us about your environment:

  • winston version?
    • winston@2
    • winston@3
  • node -v outputs: v8.10.0
  • Operating System? macOS
  • Language? (all)

What is the problem?

npm install winston du -sh node_modules/winston/*

This includes a scratch folder that is quite large (17MB) for 2.x. I think it just needs to be added to .npmignore, but it wasn’t obvious to me how it was being generated or what the contents are supposed to be.

winston@3 has a small scratch folder, but maybe it’s just a matter of a CI system accumulating a bunch of builds in a workspace over time?

I also noticed that some of the files intest are specifically not .npmignored, I’m curious if there’s a reason why? The commits don’t really explain why. Obviously those files are super small and not really significant, I’m just wondering.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
DABHcommented, Jul 22, 2018

Thanks for pointing this out. I’m not sure about those test files (@indexzero ?) but I added scratch to .npmignore on 2.x and 3.x, so next time @indexzero pushes a release (?), hopefully this will be resolved (definitely let us know if it’s still being distributed). Thanks!

1reaction
indexzerocommented, Aug 21, 2018

Released in 2.4.4

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using a Personal Folder on the Scratch
Video files and data sets can be huge files. There is only about 120 GB of storage allowed per user within /home, which...
Read more >
Scratch Folder (Environment setting)—ArcGIS Pro
The Scratch Folder environment setting is the location of a folder you can use to write file-based data, such as shapefiles, text files,...
Read more >
Guidelines for Large Problems - Product Documentation Center
These two files are allocated to the default scratch directory during the course of the run and are deleted at the end of...
Read more >
Cori scratch - NERSC Documentation
Cori scratch is a Lustre file system designed for high performance temporary storage of large files. It contains 10000+ disks and 248 I/O...
Read more >
Storage - hpc - eResearch Doc
We use a distributed parallel filesystem on our clusters called BeeGFS. Any data you put in $HOME or in $HOME/scratch folders are thereby ......
Read more >

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