As I asked and answered here, I found that running 'sudo lein deps causes some problem that forces me to run 'sudo lein swank', which is annoying. And I was told not to use sudo. I use Mac OS X 10.6.4.
So, I'll try to uninstall and reinstall leiningen.
I followed the steps explained here.
download leiningen using 'http://github.com/technomancy/leiningen.git' to ~/bin/leinigen
yes removing .m2 and then lein self-install
should fix this :)
when you can sudo lein ... it created files in .m2 owned by root so removing these and then recreating them as the proper user (you) should fix it. you could perhaps also just change the user on them back to yourself.
chown username:users ~/.m2/*
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With