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

constantly crashing on exception #31

Open
hotfusion opened this issue Nov 29, 2023 · 0 comments
Open

constantly crashing on exception #31

hotfusion opened this issue Nov 29, 2023 · 0 comments

Comments

@hotfusion
Copy link

This module is not working as supposed to, it crash and exit node application due to the error:
TypeError: Cannot read properties of undefined (reading 'sort')

tree.js:315:27

if (_flags.directoryFirst) {
          parent.children.sort(_comparePriority);
        }

the callback onError does nothing when exception occurred but instead it crash my application:

onError({path,err}){
       
}
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