You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the same problem with the @storybook/codemodstoriesof-to-csf.js transform. I discovered that this error was coming from prettier, which the storiesof-to-csf.js transform was using. What I ended up doing was removing the prettier command from the storiesof-to-csf.js in my node_modules directory, and then just running prettier manually (it was a hack)
Were you also seeing this from @storybook/codemod? If so, I don't think it's an issue with jscodeshift, but rather @storybook/codemod.
It turned out that with my hacky fix, although it was running without errors, it wasn't actually transforming the code. I've left an issue here: storybookjs/storybook#9669. This issue should be closed - it's not an issue with jscodeshift.
Hi there, when I'm trying to use the tsx parser with a codemod I get the error
Error: Couldn't resolve parser "tsx"
any ideas why?The text was updated successfully, but these errors were encountered: