Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Application crashes if a folder dropped on application #302

Open
lfekson opened this issue Jun 8, 2018 · 0 comments
Open

Application crashes if a folder dropped on application #302

lfekson opened this issue Jun 8, 2018 · 0 comments

Comments

@lfekson
Copy link

lfekson commented Jun 8, 2018

If application doesn't define anything for drag and drop, then dropping a folder onto any piece of the application (that user can do occasionally) causes application crash. In development mode after crash the application screen is replaced with error message:
Failed to compile /Users/someuser/foldername: Can't stat /Users/someuser/foldername
Error: Can't stat /Users/someuser/foldername
at /Users/someuser/app_folder/node_modules/electron-compile/lib/file-change-cache.js:183:42
at Generator.next ()
at step (/Users/someuser/app_folder/node_modules/electron-compile/lib/file-change-cache.js:27:191)
at /Users/someuser/app_folder/node_modules/electron-compile/lib/file-change-cache.js:27:361
at

Absolutely the same crash happens if application uses drag&drap, but user dropped a folder outside of the defined drop zone.

OS: MacOS 10.13.4
electron-compile version: 6.4.2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant