Getting error: `NonError: 1`
See original GitHub issueNonError: 1
at module.exports.input (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/ensure-error/index.js:14:10)
at ShareService.showError (/Applications/Kap.app/Contents/Resources/app.asar/dist/main/share-service.js:102:108)
at /Applications/Kap.app/Contents/Resources/app.asar/dist/main/share-service.js:151:17
at Generator.throw (<anonymous>)
at step (/Applications/Kap.app/Contents/Resources/app.asar/dist/main/share-service.js:37:191)
at /Applications/Kap.app/Contents/Resources/app.asar/dist/main/share-service.js:37:402
at <anonymous>
at process._tickDomainCallback (internal/process/next_tick.js:135:7)
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Error - JavaScript - MDN Web Docs - Mozilla
Error objects are thrown when runtime errors occur. The Error object can also be used as a base object for user-defined exceptions.
Read more >15 Common Error Codes in Node.js and How to Fix Them
10. ENOENT ... This error is a straightforward one. It means "Error No Entity" and is raised when a specified path (file or...
Read more >"Non-Error promise rejection captured with value:" · Issue #3440
TL:DR - We are receiving a copious amount i these errors with no values provided. I can't see anything that sticks out in...
Read more >Best Practices for Node.js Error-handling - Toptal
Developers working with Node.js sometimes find themselves writing not-so-clean code while handling all sorts of errors. This article will introduce you to ...
Read more >iOS update and restore errors - Apple Support
Learn how to solve iOS update and restore errors.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
After investigating for a whiiile, I managed to pinpoint what causes the error. Apparently, it’s a problem with ffmpeg, and specifically the libx264 library it uses for h264 encoding. The problem is that the library requires both width and height to be divisible by 2. This is why it works half the times. If both your dimensions happen to be even, everything goes fine. If one of them is odd, it breaks. I am almost done writing the PR that fixes it.
https://trac.ffmpeg.org/ticket/309
Let me know if I can help test anything. This happens for me all the time when exporting MP4 - always has with 2.x. Yesterday, twice, I managed to export recordings as .MP4 but today it’s back to situation normal.
macOS 10.12.6 . Kap 2.0.0 (681)
NonError: 1 at module.exports.input (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/ensure-error/index.js:14:10) at ShareService.showError (/Applications/Kap.app/Contents/Resources/app.asar/dist/main/share-service.js:102:108) at /Applications/Kap.app/Contents/Resources/app.asar/dist/main/share-service.js:151:17 at Generator.throw (<anonymous>) at step (/Applications/Kap.app/Contents/Resources/app.asar/dist/main/share-service.js:37:191) at /Applications/Kap.app/Contents/Resources/app.asar/dist/main/share-service.js:37:402 at <anonymous> at process._tickDomainCallback (internal/process/next_tick.js:135:7)
I have not, to my knowledge installed any plugins - just installed Kap. As such I’m happy to blow-away anything in a plugins folder or whatever and try exporting again.