bulk-decaffeinate icon indicating copy to clipboard operation
bulk-decaffeinate copied to clipboard

Converting too many files? [spawn E2BIG]

Open juanca opened this issue 7 years ago • 0 comments

Error stack trace:

Verifying that decaffeinate can successfully convert these files...
2204/2204
Backing up files to .original.coffee...
2204/2204
Renaming files from .coffee to .js...
2204/2204
Generating the first commit: "decaffeinate: Rename admin-roles-page.coffee and 2203 other files from .coffee to .js"...
{ Error: spawn E2BIG
    at exports._errnoException (util.js:1018:11)
    at ChildProcess.spawn (internal/child_process.js:319:11)
    at Object.exports.spawn (child_process.js:378:9)
    at Git._schedule (/Users/juanca/workspace/xyz/node_modules/simple-git/src/git.js:1270:42)
    at Git._run (/Users/juanca/workspace/xyz/node_modules/simple-git/src/git.js:1252:12)
    at Git._rm (/Users/juanca/workspace/xyz/node_modules/simple-git/src/git.js:1215:19)
    at Git.rm (/Users/juanca/workspace/xyz/node_modules/simple-git/src/git.js:917:19)
    at /Users/juanca/workspace/xyz/node_modules/simple-git/promise.js:28:21
    at /Users/juanca/workspace/xyz/node_modules/simple-git/promise.js:18:17 code: 'E2BIG', errno: 'E2BIG', syscall: 'spawn' }

I figure I can bulk convert directories. But wanted to give y'all a heads up on this particular use-case.

juanca avatar Sep 14 '17 20:09 juanca