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.

Crash if multiple files have errors.

See original GitHub issue

For example, if you try to upload 2 files that are both too big, you get a weird uncaught error TypeError: path must be a string at TypeError (native) at Object.fs.unlink (fs.js:927:11)

And this seems to be because on the first error, it unlinks the uploaded files, and deletes their filepath and other properties, then on the 2nd error, the filepath property does not exist on the uploaded files, and so this weird uncaught error occurs and crashes the process.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Roam-Coopercommented, Apr 15, 2016

Can @LinusU ping us back as to whether they know this issue has been resolved or not, otherwise we can fix via a pull request as we are using this module for a project that will go to production in a few months.

1reaction
RafLeszczynskicommented, Apr 10, 2016

have the same issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Crash when closing multiple files - Claris Community
When I am closing multiple-file solution. Filemaker crash with C++ Runtime Error: R6025 "Pure Virtual Function Call". The solution is converted from Filemaker ......
Read more >
PC crashing with multiple error codes due to 1 game in specific
My PC keeps freezing then crashing due to one game I play in specific. After every crash I check the event viewer and...
Read more >
Windows Explorer Keeps Crashing: How to Fix - groovyPost
If Windows File Explorer keeps crashing, you'll need to troubleshoot the issue by following these steps.
Read more >
7 Fixes If Windows Explorer Keeps Crashing - RevoUninstaller
Method 7: Check Windows Error Logs. If all of the above methods did not help you to resolve your crashing File Explorer issue,...
Read more >
os.listdir() crashes when used with several thousands of files
os.listdir() crashes when used with several thousands of files · 1. your machine can't hold all that data in memory, perhaps because you...
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