When copying many files, this happens:
copyfiles --version
2.4.1
copyfiles -f ../../node_modules/twemoji/dist/svg/* ./lib/twemoji
buffer.js:524
return b instanceof Buffer;
^
RangeError: Maximum call stack size exceeded
at Function.isBuffer (buffer.js:524:3)
at chunkInvalid (/usr/lib/node_modules/copyfiles/node_modules/readable-stream/lib/_stream_readable.js:400:15)
at readableAddChunk (/usr/lib/node_modules/copyfiles/node_modules/readable-stream/lib/_stream_readable.js:159:12)
at YourStream.Readable.push (/usr/lib/node_modules/copyfiles/node_modules/readable-stream/lib/_stream_readable.js:149:10)
at YourStream.Noms.push (/usr/lib/node_modules/copyfiles/node_modules/noms/index.js:14:47)
at YourStream.nom (/usr/lib/node_modules/copyfiles/index.js:16:10)
at YourStream.Noms.callRead (/usr/lib/node_modules/copyfiles/node_modules/noms/index.js:59:11)
at cb (/usr/lib/node_modules/copyfiles/node_modules/noms/index.js:51:19)
at YourStream.nom (/usr/lib/node_modules/copyfiles/index.js:17:5)
at YourStream.Noms.callRead (/usr/lib/node_modules/copyfiles/node_modules/noms/index.js:59:11)
ls ../../node_modules/twemoji/dist/svg/*.svg | wc -l
3689
When I remove half the files, the command completes successfully.
When copying many files, this happens:
When I remove half the files, the command completes successfully.