Open BryanCrotaz opened 2 years ago
Only happens in node 12. Node 14 works, but isn't supported by ember-cli, so it's pain to switch back and forth.
Hey, @BryanCrotaz do you found a fix for your issue? I encountered the same issue after trying to update my app from 3.14 to 3.28 and I did not manage to execute the --run-codemods
command. Every time I get the same backtrace.
Switching Node version does not seems to fix anything for me
I've found that the codemods themselves only work up to node 10, (otherwise the dreaded cb.apply is undefined), but ember-cli-update only works in node 12 and above.
Nearly all codemods work for upgrading from 3.20 to 4.0 for me with node 14.4, see https://github.com/ember-cli/ember-cli-update/issues/1105#issuecomment-1293170195 for problems with cb.apply
After successful ember-cli-update to 3.28.3
--run-codemods
fails withError: Not supported