Uninstall/Reinstall leiningen(clojure server) related issues

后端 未结 1 969
温柔的废话
温柔的废话 2021-01-11 10:46

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

1条回答
  •  温柔的废话
    2021-01-11 11:17

    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/*
    

    0 讨论(0)
提交回复
热议问题