codemod-imports-sort
codemod-imports-sort copied to clipboard
Installing globally does not work on OS X
After installing it globally via yarn, it did not generate a required dist folder 🤔
Cloning the repo and running it seems to work fine though.
Confirm the issue with running from global yarn install; but even after downloading, running codemod-imports-sort
throws an error cannot find module 'app-root-path'
Thanks for reporting the issue. This is caused by https://github.com/inxilpro/node-app-root-path/issues/28. I currently have no device running OSX close though, so I won't be able to debug this soon, any help is appreciated.
I'll certainly update once this is resolved in app-root-path
. Cloning and installing manually is the way to get this to work until we make further progress.
@afkatja This is due to missing dependencies after downloading. You will have to run npm install
or yarn install
in the downloaded directory to make this work.