Skip to content

Converting too many files? [spawn E2BIG] #135

Description

@juanca

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions