-
Notifications
You must be signed in to change notification settings - Fork 773
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
fse.copy ENOENT error #224
Comments
@MadMikeGamerXL1 Yes. ENOENT means that the directory was not found. This is most likely because you did not specify the correct file path. |
@xtrinity I am aware of what I'm wondering, is the current working directory the main js file in regards to the fs-extra, or is it inside the fs-extra module folder? |
@MadMikeGamerXL1 The correct working directory should be from where your code is executing. So if you execute |
@xtrinity Sorry for the late response! I thought that was the working directory. So do you have any ideas why it's not working? The folder is clearly there, and has folders inside it. |
@MadMikeGamerXL1 Could you please to provide the code snippet and the main error message? |
I have same error too. version 0.24.0 -> all of my unit tests were passed. I think .copySync/copy causes by removing file or files. |
If no response within a few days, I will close this. |
Sorry, I wasn't even alerted of the reply at all, that's a bit strange (even searched my emails to check, and nothing from back then). Sorry! Anyway, I've moved on from that Javascript project, there were so many issues it just seemed easier to rewrite it in a different language (it suits better for what I needed anyway). Thanks for replying though. :) |
Hi,
I've just installed the fs-extra module and every 5 minutes it tries to copy a directory, but it's failing with this error: - Error: ENOENT, lstat '/logs'
What does this mean?
It's trying to move a folder called "logs" from the same directory as the js file itself, into the '/var/www/html' folder for Apache2. Because of where the js file is, I've had to put the directory like this: '../../../var/www/html'. Is this right?
Thanks,
Mike
The text was updated successfully, but these errors were encountered: