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

Fails without a good trace #34

Open
runspired opened this issue Mar 30, 2021 · 1 comment
Open

Fails without a good trace #34

runspired opened this issue Mar 30, 2021 · 1 comment

Comments

@runspired
Copy link

runspired commented Mar 30, 2021

UnhandledPromiseRejectionWarning: Error: Command failed with exit code 7 (E2BIG): /Users/runspired/.npm/_npx/61999/lib/node_modules/es5-getter-ember-codemod/node_modules/jscodeshift/bin/jscodeshift.js -t /Users/runspired/.npm/_npx/61999/lib/node_modules/es5-getter-ember-codemod/transforms/es5-getter-ember-codemod/index.js --extensions js,ts [LIST OF FILES]

Will have time later to attempt to debug.

@runspired
Copy link
Author

fairly sure this is an upstream issue with codemod-cli. It passes all the globbed files to jscodeshift via exec as part of the built command instead of via a tmp file, for a very large app this exceeds the max length for the command.

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