This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-07-14
Channels
- # announcements (3)
- # babashka (189)
- # beginners (157)
- # calva (5)
- # cider (5)
- # clj-kondo (7)
- # cljdoc (34)
- # clojure (61)
- # clojure-dev (2)
- # clojure-europe (42)
- # clojure-nl (15)
- # clojure-poland (1)
- # clojure-spec (5)
- # clojure-uk (6)
- # clojured (2)
- # clojurescript (31)
- # clojureverse-ops (8)
- # component (2)
- # cursive (41)
- # datomic (15)
- # depstar (44)
- # figwheel-main (9)
- # fulcro (14)
- # holy-lambda (1)
- # inf-clojure (13)
- # introduce-yourself (1)
- # jobs (1)
- # lsp (98)
- # malli (12)
- # off-topic (12)
- # pedestal (1)
- # polylith (3)
- # re-frame (51)
- # reitit (4)
- # releases (1)
- # reveal (5)
- # shadow-cljs (3)
- # tools-deps (56)
- # vim (12)
- # xtdb (36)
Hi, Anyone face Error encountered performing task ‘run’ with profile(s): ‘base,system,user,provided,dev,run’ problem?
The “Suppressed Exit” thing generally means that a lein plugin has exited prematurely. Which lein plugins are you using?
Sorry for I forget provider version info of lein. lein version : 2.9.6 cursive version: 1.10.2-2021.1
There is a issue I consider related https://github.com/cursive-ide/cursive/issues/2521
@U01JZJQ774L I meant which lein plugins are you using, i.e. in your :plugins
field in project.clj
.
I can start it via lein run successfully, but through cursive, it show me: Error encountered performing task ‘run’ with profile(s): ‘base,system,user,provided,dev,run’
there must be more to the error message than that?
These are some logic about Metabase, and I find some issues related about mine. But who can provider a fix solution?
What is the run configuration you're using? For Metabase, remote repl works far better than local. So start it from the command line and connect via the nREPL socket from Cursive
@U0183EZCD0D I am run it as Clojure application not REPL option
Oh, I've never tried to do that. I always use the REPL to start and bring up the web server from there
Yes I do that all the time
(I work at Metabase)
I have an internal wiki doc on the Cursive setup. I'll see if I can move it to the public one
But I am still curious why it cannot start at BigSur mac in my way, I consider maybe is a bug exist in BigSur? I have submit issue on cursive, but no response so far. And I find a similar issue: https://github.com/cursive-ide/cursive/issues/2521
I’m on Big Sur and I’ve never run into this error
Hey @U0183EZCD0D, Thanks for publicizing the instructions! Although I think you edited the public wiki page with the the document is now public at <x>
instead of the internal one 😅
When I run it on the local REPL, it show “Error running ‘Local’: Error executing Leiningen configuration.” There must be a problem, Even though I’ve tried to reinstall IDEA,
My mac come back to normal ,finally it make me sad a long time. The problem is there exist a bug with BigSur that about JAVA_CMD environment variable, But I already noted this problem and export this variable, the most deadly problem is I installed JENV to manage all jdks, and export is not which java path appropriate .😬 Yeah, @U0183EZCD0D you are right there must be more error information, I figure out this in log of IDEA.
I pretty much always use remote REPL for what it's worth. Much less hassle in the end
does anybody know what this setting does? if my understanding is correct, it should automatically enable those aliases upon opening/synchronizing all Deps projects. if that's what it does, it doesn't seem to be working. in other words, i am still forced to manually enable (in the Clojure Deps tool window) an alias that's already listed there (in my case, dev
).
i mean, if i put an alias on that list, it should be enabled, by default, for any (existing or new) project (since it's a global setting) unless i override it in a project locally (via the Clojure Deps tool window).
The problem with that is; imagine you open a project and one of those aliases is not set. I don’t know if that’s a project that you opened subsequently to setting it as a default and manually un-set it, or if it’s one that you haven’t opened since you set that alias as a default. I could have some extra hidden field of ‘aliases which have been manually disabled’, but that then gets pretty complex and I’m not sure what the logic for that field should be when you set and un-set defaults.