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

done is not defined #12

Open
chrissyast opened this issue Jan 13, 2020 · 1 comment
Open

done is not defined #12

chrissyast opened this issue Jan 13, 2020 · 1 comment

Comments

@chrissyast
Copy link

chrissyast commented Jan 13, 2020

System info

MacOS 10.15.1

What I've done

  • npm install mddir -g
  • cd to folder I want to view
  • mddir

Result

/usr/local/lib/node_modules/mddir/src/mddir.js:25
    if (err) return done(err);
             ^

ReferenceError: done is not defined
    at /usr/local/lib/node_modules/mddir/src/mddir.js:25:14
    at FSReqCallback.oncomplete (fs.js:146:23)

Followed this, still get the same

@angelod1as
Copy link

This is an error that shows when you throw an invalid folder. Try mddir . to see what happens. Is there any file or folder inside root?

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

2 participants