Typescript parser sync to async migration cannot find files #111
-
I am trying to follow the steps for sync to async migration with relative path in a windows system and I always get the following output |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Can you try with: npx jscodeshift -t ./node_modules/@wdio/codemod/async --parser=tsx ./pages/fw/unified_nav*.ts I've never tested this on Windows so chances are that using Window style paths is broken. |
Beta Was this translation helpful? Give feedback.
-
will it work for java script(js )also, if we change the extension and parser? |
Beta Was this translation helpful? Give feedback.
After a couple tries, this is what worked for me
npx jscodeshift -t ./node_modules/@wdio/codemod/async --extensions=tsx,ts --parser=ts .\pages\fw\unified_nav\