Emacs: help setting Cider with shadow-cljs in Emacs with C-c M-j

I’m trying to run C-c M-j and connect to shadow-cljs repl. I get this error: user-error: The npx shadow-cljs executable isn’t on your ‘exec-path’.

I installed shadow-cljs globally. Why is it invoking it with npx?? How do I change this? I’m very new to cider and clojurescript. Not sure which variable needs tweaking.

Thanks

EDIT:

I have this exact same problem cider 2020-04-29 | Slack Archive

The thing is that I’ve adding (exec-path-from-shell-copy-env “PATH”) to my init.el and still have the same issue.

does it work when you run npx shadow-cljs or shadow-cljs directly via command line?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.