You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
node version: <run "node -v" in you terminal and replace this>
npm version: <run "npm -v" in you terminal and replace this>
os: windows 7/windows 10/mac/linux
Error output
✓
Submission results match expected
✓
Additional module file exports a single function
✓
Additional module file exports a function that takes 3 arguments
✗
Your additional module file [mymodule.js] does not appear to pass back an
error received from fs.readdir(). Use the following idiomatic Node.js
pattern inside your callback to fs.readdir(): if (err) return
callback(err)
# FAIL Your solution to MAKE IT MODULAR didn't pass. Try again!
Don't know if you completed the challenge or not. You have problem in calling the readdir method.
Remove the encoding that you have provided it does not require an encoding. Also in handling the error call your callback function instead of console.error(error).
Also in your main code don't add the '.' there add the '.' in mymodule.js.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Notes
Please delete this section after reading it
If you have a problem with an error message:
Error output
My Code
The text was updated successfully, but these errors were encountered: