-
Notifications
You must be signed in to change notification settings - Fork 12
react-codemod missing when installing with yarn #4
Comments
hmm, that is strange. It seems like it may be some issue with the yarn install or possibly your yarn setup. Does it work when you install it with npm?
|
Also, what version of yarn do you have and what method did you use to install it? |
I had the same issue. Had to |
for what it's worth, installing via Feel free to close issue as it seems doing a global npm install resolves this |
@pruett Curious why skipping the codemod wouldn't be related to depercolator? I feel like its pretty big part of the transform process to convert |
@clschnei Apologies for not being clear. I meant to say that the specific transform |
Another solution here could be to switch from react-codemod to the babel transform https://www.npmjs.com/package/babel-plugin-transform-react-createelement-to-jsx I original didn't go with it because it had issues with rendering everything to one line, but that was before I'll look into this 🔜 |
I receive the following after using
depercolate [--options]
Looking inside the depercolator folder (
~/.config/yarn/global/node_modules/depercolator/node_modules
), I do see a.bin
directory housing a few symlinks (i.e. decaffeinate, jscodeshit, etc.) but not areact-codemod
directory.I did try and run the transform separately (with jscodeshift) and it got skipped anyway, so not sure it's even useful in my situation but was curious if it's reproducible on your end.
The text was updated successfully, but these errors were encountered: