Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default directory shown as empty if it doesn't exist #111

Closed
warpdesign opened this issue Mar 8, 2020 · 0 comments
Closed

Default directory shown as empty if it doesn't exist #111

warpdesign opened this issue Mar 8, 2020 · 0 comments
Milestone

Comments

@warpdesign
Copy link
Owner

warpdesign commented Mar 8, 2020

image

Log:

error cd/list for path /tmp/react-explorer error was Error: ENOENT: no such file or directory, lstat '/tmp/react-explorer'
at fs.lstatSync (fs.js:936)
at Object.fs.lstatSync (ELECTRON_ASAR.js:259)
at FsLocal.ts:171
at new Promise ()
at LocalApi../src/services/plugins/FsLocal.ts.LocalApi.isDir (FsLocal.ts:169)
at LocalApi../src/services/plugins/FsLocal.ts.LocalApi.cd (FsLocal.ts:59)
at FileState. (fileState.ts:408)
at step (favoritesState.ts:18)
at Object.next (favoritesState.ts:18)
at favoritesState.ts:18
LeftPanel.tsx:95 places updated: need to rebuild nodes
LeftPanel.tsx:197 LeftPanel.render
2fs.js:142 Uncaught (in promise) Error: Dossier ou fichier introuvable
at fs.lstatSync (fs.js:936)
at Object.fs.lstatSync (ELECTRON_ASAR.js:259)
at FsLocal.ts:171
at new Promise ()
at LocalApi../src/services/plugins/FsLocal.ts.LocalApi.isDir (FsLocal.ts:169)
at LocalApi../src/services/plugins/FsLocal.ts.LocalApi.cd (FsLocal.ts:59)
at FileState. (fileState.ts:408)
at step (favoritesState.ts:18)
at Object.next (favoritesState.ts:18)
at favoritesState.ts:18

Should display Non-existing or non-readable directory instead.

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

No branches or pull requests

1 participant