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
I tried removing and re-installing node many times to get graceful-fs module to work but no luck. The graceful-fs direcotry exists under:
usr/local/lib/node_modules/
Still when I run my NodeJS app, it cannot find the module.
Thank you!
The text was updated successfully, but these errors were encountered:
Closes#27
Due to the way that streams and the various FS methods interact with one
another, NOT monkey-patching doesn't work.
However, since the 'fs' module is effectively a process-level global,
making monkey-patchy changes to it can introduce some really weird behavior.
Even if such behavior is not actively harmful, it can end up being
applied multiple times, and wrapping 'fs.open()' over and over again
is a bit of a bummer when it comes to performance.
Mixing 'eval()' and a private/internal Node API kind of gives me the
heeby jeebies. If anyone can come up with a less evil way to do this,
I'll be happy to accept a patch.
I tried removing and re-installing node many times to get graceful-fs module to work but no luck. The graceful-fs direcotry exists under:
usr/local/lib/node_modules/
Still when I run my NodeJS app, it cannot find the module.
Thank you!
The text was updated successfully, but these errors were encountered: