Closed McPo closed 7 years ago
Can you provide a directory structure this repros for? I can't repro on my Linux machine. Thanks
Heres my node_modules directory
https://drive.google.com/file/d/0B3Hzs-LoXgdkUDl3NmVJVmxOSDQ/view?usp=sharing
Then to reproduce the issue:
shx cp -r ./node_modules ./node_modules2
Not all files will be copied.
Confirmed. This is a bug upstream at ShellJS. Closing this here and refiling as shelljs/shelljs#547
Im attempting to copy node_modules to a build directory for packaging into an electron application.
It appears that shx silently fails after 72 items. I checked to make sure it wasn't hiccuping on the last directory it copied 'history', by deleting 'history'. The next alphabetical directory was then copied but no more. ie I think theres a limit on the number of items that can be copied.
works fine, but
does not, while
works as expected.
Ive tried verbose logging, but it just reprints the command. Could it have anything to do with the ulimit being reached on the device as I know I had issues with that and webpack. The solution was to make webpack only process so many files at a time, as the ulimit couldn't be increased.
Im on OSX.