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 received the following error when running the codemod:
/Users/..../..../node_modules/types-react-codemod/transforms/preset-18.js:1
import contextAnyTransform from "./context-any";
^^^^^^
SyntaxError: Cannot use import statement outside a module
Command run was npx types-react-codemod preset-18 ./src
This is using nodejs 16.
FYI, Downgrading to 1.1.0 resolved it. Maybe related to #63 since the import in question is preset-18
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I received the following error when running the codemod:
Command run was
npx types-react-codemod preset-18 ./src
This is using nodejs 16.
FYI, Downgrading to 1.1.0 resolved it. Maybe related to #63 since the import in question is preset-18
The text was updated successfully, but these errors were encountered: