-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Cannot read property 'from' of undefined #320
Comments
This is strange, I uninstalled the global |
In general, I would not advise running globally. Using |
I am running the code mod on a smaller subset of files. Since this codemod needs to install Also, I installed the codemod globally just a few minutes prior to the |
I'm seeing the same error, running as |
Similarly I installed a fresh node version with nvm (12.18.3) and ran again with npx and it works! |
Is there a reason this won't work when running globally? |
No, but there are combinations of conflicting versions that folks hit which is not an issue when using npx (vs a permanent global install). I think volta install would also probably work just fine, but haven't tried it. |
The text was updated successfully, but these errors were encountered: