Skip to content
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

Converting too many files? [spawn E2BIG] #135

Open
juanca opened this issue Sep 14, 2017 · 0 comments
Open

Converting too many files? [spawn E2BIG] #135

juanca opened this issue Sep 14, 2017 · 0 comments

Comments

@juanca
Copy link

juanca commented Sep 14, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant