-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
cpx fails with ENOENT: no such file or directory, chmod... #56
Comments
We've run into this problem as well. It seems to only happen with empty files (0 bytes), but we've only seen it happen occasionally on our CI. I suspect there's some sort of race condition going on where @nishant-dani Do you have a way to reproduce this consistently? What machine are you using? And what are your file's properties? |
I get it often when build project in a docker. The error occurs with an empty html file. The image is node:dubnium-slim
|
I'm having this issue randomly too. To recreate have a bunch of empty scss files in an assest folder and attempt to copy from assets to the resulting build /dist folder.
It's indeed failing only on empty files |
I'm facing a similiar issue when there is a symlink. |
Any solution on this would be nice, currently having the same issue too. |
I am also having this issue with the following NPM script:
|
Failed to copy: ENOENT: no such file or directory, chmod 'External/shared/node_modules/browser-resolve/node_modules/resolve/test/resolver/other_path/root.js'.
The file exists at source;
0 -rw-r--r-- 1 amp staff 0 Aug 26 17:12 root.js
And once the cpx fails, I check the destination the file is there too;
0 -rw-r--r-- 1 amp staff 0 Sep 7 2015 root.js
Is there a workaround for this?
The text was updated successfully, but these errors were encountered: