Fork me on GitHub
#cljsrn
<
2015-11-23
>
artemyarulin09:11:22

@chadhs: You rock, thanks!

chadhs12:11:44

you're most welcome 😎

misha15:11:04

in case someone has an issue with:

$ natal init myapp
Creating myapp

Creating Leiningen project
Updating Leiningen project
Creating React Native skeleton
Installing Pod dependencies
Updating Xcode project
Creating Natal config
Compiling ClojureScript
Compiling Xcode project
Command failed: xcodebuild -workspace native/ios/wios.xcworkspace -scheme myapp -destination platform='iOS Simulator',OS=latest,id='481413B2-9E0A-4EFB-83E8-2F118ECE4046' test
– make sure you nmp install react-native-cli first, as it does not get installed for you by natal. related: https://github.com/facebook/react-native/issues/3948

misha15:11:16

* or at least it did not get installed for me

mfikes15:11:20

Hmm. Didn't realize natal needed it

mfikes15:11:31

If it does, probably appropriate to file an issue with Natal—it tries very hard to ensure all required deps are present and at their minimum required versions or better

misha15:11:25

I did not have any node/npm on my machine before I tried natal few months back. today I came back to it, ran through all the dependencies installations again. And eventually got stuck with this error. I'd consider this as almost clean install.

misha16:11:27

I am pretty disoriented in all the dependency/responsibility graph so far, and chose to comment on react-native issue above + spill it out here "informally" first.

mfikes16:11:04

@misha: I'm gonna see if I can repro

misha16:11:48

not sure if xcode and other versions matter, except natal's one:

$ natal --version
0.1.11

mfikes16:11:50

There's an over-abundance of stuff to get right when trying out React Native from ClojureScript—Natal has done a great job of making it easier to try (especially if you're very busy and don't have the time to invest in the half-dozen things you got to get right)

misha16:11:46

this is so true

mfikes16:11:48

@misha I think I'm able to reproduce what you are seeing.

donmullen16:11:27

@misha - I seem to recall (been a while) I got a similar message and had not gotten through the xcode licensing issue - worth checking.

misha16:11:50

there was another, xcode-related issue. natal picks uses iphone6(+?) as a default simulator device. I had xcode 6.# updated in august, which did not have that simulator. So I got this error https://github.com/dmotz/natal/blob/master/natal.coffee#L72

logErr "Cannot find device `#{deviceName}`"
on
Creating Natal config
step

mfikes16:11:52

@misha: Da, I'm able to reproduce what you're seeing. Perhaps Dan Motzenbecker didn't intend for there to be such a dep. Worth filing an issue against Natal

misha16:11:52

@donmullen: true, accepting xcode's terms was one of the steps of my journey today, but it said it explicitly somewhere.

dmotz16:11:48

I released Natal 0.1.11 yesterday and it now gives compiler feedback in the REPL

dmotz16:11:31

@misha could you file an issue for that bug?

misha16:11:46

@dmotz: doing it now

mfikes16:11:45

@dmotz: I really like the initial screen you now get in the simulator. Awesome!

dmotz16:11:34

the cljs logo adds a little something

mfikes16:11:30

@dmotz Yes, and the use of natal-shell and illustrating how to make a button are useful. This is getting really really good for a first-run experience!

dmotz16:11:25

yep, just have to figure out some of these bugs others are seeing

felipebueno17:11:18

hi, @dmotz today I upgraded natal from 0.1.7 to 0.1.11. Do I need to upgrade the projects I started on 0.1.7? If so, how do I do that? Thanks! 😄

dmotz18:11:20

@felipebueno: no need to upgrade anything in the project. you should get the new compiler feedback in the REPL now when you run natal repl

dmotz18:11:51

and remember to run rlwrap natal repl if you want arrow key support in the REPL

felipebueno18:11:45

oh I didn't know that... but I'm using Emacs + Cider so there's no need for that 😄

dmotz18:11:15

there’s a cider guide on the wiki, if you haven’t already seen that

felipebueno18:11:51

yep. I'm one of the guys bothering you on the cider issue on github hahah

dmotz18:11:37

yeah i’d like to get it so Natal sets that up automatically

felipebueno18:11:15

that'd be great. It could be something that works with Cider, Cursive, LightTable etc right out of the box

donmullen20:11:33

Some interesting articles in this react native newsletter : http://brentvatne.ca/react-native-newsletter/22-11-2015.html