Typescript parser sync to async migration cannot find files #111
Answered
by
Jahnavi-Tirunagari
Jahnavi-Tirunagari
asked this question in
Migration Issue
|
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 |
Answered by
Jahnavi-Tirunagari
Feb 7, 2024
Replies: 2 comments 2 replies
|
Can you try with: npx jscodeshift -t ./node_modules/@wdio/codemod/async --parser=tsx ./pages/fw/unified_nav*.tsI've never tested this on Windows so chances are that using Window style paths is broken. |
1 reply
|
will it work for java script(js )also, if we change the extension and parser? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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\