Fork me on GitHub
#proton
<
2016-02-11
>
jessejanderson04:02:40

Things seem to be working okay, but I get this error on launch every time.

jessejanderson07:02:07

Another thing - I’m not familiar with the file format of the .proton file (is it clojurescript?) and having a heck of a time trying to translate some configuration stuff. I’m trying to set the colors for terminal-plus and cannot get any translation of this code to work:

"terminal-plus":
  ansiColors:
    normal:
      blue:
        red: 22
        green: 120
        blue: 219
        alpha: 1

geksilla10:02:47

@jessejanderson .proton file is edn. regarding "terminal-plus" settings you can try

["terminal-plus.ansiColors" {:normal {:red 22 :green 120 :blue 219 :alpha 1}}] 

geksilla13:02:29

I was trying to add reagent to project dependencies. And got error from atom

Cannot find module 'react'
@thheller, can you please help with this?

geksilla13:02:21

I've fixed this by adding react and react-dom to package.json

geksilla13:02:38

looks like these packages don't resolves to lib/cljs-runtime/cljsjs/react

geksilla13:02:46

Is there any magic how I can resolve modules with shadow-build? simple_smile

thheller14:02:06

@geksilla: what are you trying to do? don't quite understand. package.json is not something shadow-build works with or requires

thheller14:02:55

if you require the normal react or react-dom packages I'd advise not using the cljsjs versions

geksilla16:02:08

I'm trying to use reagent with proton

geksilla16:02:31

I've added it :dependencies project.clj

geksilla16:02:51

then run dev-repl

geksilla16:02:37

restarted atom and it loads with error message regarding react

jessejanderson17:02:16

@geksilla: ah ha! Thanks, that format worked.

geksilla17:02:49

your proto-repl package installed manually or via proton?

geksilla17:02:42

anyway to fix this

(cd ~/.atom/packages/proto-repl && apm install)

geksilla17:02:06

somehow dependencies not installed for proto-repl

jessejanderson17:02:21

ahh - thanks! via Proton but i guess it didn’t work somehow

dvcrn23:02:51

hrmm but proton basically runs apm install xxx