hey guys is there allready something like nextjs or nuxt or fresh for nbb? would love to see something like that
Do you mean something that is a fully featured thing rather than one library? Perhaps #sitefox ?
ok thats cool thanx https://github.com/chr15m/sitefox flies away 😄
Just met @chris358 the author here on Heart of Clojure
man i would love to go there 😕 next time i'll join you guys 😄
👋 any feedback you have on using Sitefox is most welcome
Bit of a vague question but is there a way to get nice errors in the repl in nbb? I currently seem to mostly be getting long messy strings representing error objects. I’m sure I’m missing something.
Perhaps you can make a repro and show me? The answer might be that it’s hard to improve but with a repro it’s easier to tell
So most of my errors in a plain repl get printed like this, as a string:
"#error {:message \"Could not resolve symbol: createUmi\", :data {:type :sci/error, :line 2, :column 7, :message \"Could not resolve symbol: createUmi\", :sci.impl/callstack #object[cljs.core.Volatile {:val ({:line 1, :column 1, :ns #object[Is user], :file nil} {:line 2, :column 3, :ns #object[Is user], :file nil} {:line 2, :column 3, :ns #object[Is user], :file nil, :sci.impl/f-meta {:ns #object[Is clojure.core], :macro true, :sci/built-in true, :name ->, :arglists ([x & forms]), :doc \"Threads the expr through the forms. Inserts x as the\\n second item in the first form, making a list of it if it is not a\\n list already. If there are more forms, inserts the first form as the\\n second item in second form, etc.\"}} {:line 3, :column 5, :ns #object[Is user], :file nil} {:line 2, :column 7, :ns #object[Is user], :file nil})}], :file nil, :phase \"analysis\"}, :cause #error {:message \"Could not resolve symbol: createUmi\", :data {:type :sci/error, :line 1, :column 1, :file nil, :phase \"analysis\"}}}"^that’s an example of not having loaded a namespace so a symbol can’t be resolved.
I’m using nbb to start a repl.
Ah we might be able to improve that
Im currently at a conference, feel free to open an issue with a reminder