-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Problems running (in windows?) #2
Comments
the first issue with the global install not finding jscodeshift might relate to : nzakas/shelljs-nodecli#2 The 2nd is probably due to the fact I'm running this from |
@lukeapage thank you for the bug report! The 2nd issue is due to the fact that the executable was not using
edit: nevermind, seems I figured out a solution for this thanks to @nzakas. Will try to submit a fix today! |
I've run into a similar issue just now on OS X in zsh. Node 6.2.2, npm 3.9.5, nvm 0.30.1. I just tried updating nvm to 0.31.3, and same problem. I installed by running
When I run eslint-transforms, I get the same error:
It looks like it brought in shelljs-nodecli@0.1.1, if that helps debug anything. Perhaps this is an issue when using node only via nvm? |
I updated this via the codemod from eslint-transforms. [I ran into some errors getting eslint-transforms to run correctly as described][0], but I was able to find a workaround by running the jscodeshift command directly. [0]: eslint/eslint-transforms#2 (comment) This is a completely automated change.
I updated this via the codemod from eslint-transforms. [I ran into some errors getting eslint-transforms to run correctly as described][0], but I was able to find a workaround by running the jscodeshift command directly. [0]: eslint/eslint-transforms#2 (comment) This is a completely automated change.
The fix hadn't been released even though it was merged. I just did a release so if you update the package it should work. |
Much better. Thanks! |
First problem was after I installed globally..
I found this very strange since js-codeshift should have been findable. Possibly npm corrupted the install or something?
So I decided to installl locally and run there, which worked better, but I couldn't get it to run...
I couldn't get it to load the rule.
I noticed when running eslint-transforms by itself it still reports itself as jscodeshift, so I tried this instead...
and that works fine. I'm running in git bash on windows.
The text was updated successfully, but these errors were encountered: