ember-qunit-codemod icon indicating copy to clipboard operation
ember-qunit-codemod copied to clipboard

Fails with node 8

Open vladucu opened this issue 6 years ago • 5 comments

Hey @rwjblue , thx for this

Just wanted to report that I've run into some issues running it with node 8.11.1, but seems to be working fine with 6

screen shot 2018-06-28 at 3 09 54 pm

vladucu avatar Jun 28 '18 12:06 vladucu

Seems really odd. I run tests (for codemod-cli) on Node 6, 8, and 10 (and they are all passing).

Can you confirm that the path specified matched a file (from the screenshot)?

rwjblue avatar Jun 28 '18 13:06 rwjblue

yes, same command

screen shot 2018-06-28 at 8 30 01 pm

if there's anything I can help with to track this down, let me know pls

vladucu avatar Jun 28 '18 17:06 vladucu

Running into this as well. In my case I can't get it to work with any node version but see the same error.

kybishop avatar Jul 27 '18 21:07 kybishop

I finally found a workaround: install ember-qunit-codemod as a dev-dependency, then run it locally:

npx ./node_modules/ember-qunit-codemod/bin/cli.js convert-module-for-to-setup-test tests/integration/**/*.js

I'm not sure what's happening that's corrupting the global installation, but this worked just fine on any node version.

kybishop avatar Jul 27 '18 21:07 kybishop

@rwjblue I have a repro case on my work machine. If you want to look at it sometime, happy to let you remote in

mike-north avatar Aug 22 '18 21:08 mike-north