This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-29
Channels
- # aws (6)
- # beginners (33)
- # bitcoin (2)
- # boot (22)
- # carry (2)
- # cider (5)
- # clara (21)
- # cljs-dev (115)
- # cljsrn (40)
- # clojure (161)
- # clojure-dev (73)
- # clojure-italy (38)
- # clojure-russia (88)
- # clojure-spec (123)
- # clojure-uk (58)
- # clojurescript (88)
- # core-async (26)
- # cursive (5)
- # datascript (18)
- # datomic (26)
- # hoplon (50)
- # java (2)
- # jobs (1)
- # leiningen (10)
- # lumo (1)
- # off-topic (18)
- # om (9)
- # onyx (26)
- # parinfer (13)
- # pedestal (41)
- # quil (1)
- # re-frame (27)
- # reagent (21)
- # ring-swagger (11)
- # slack-help (3)
- # spacemacs (8)
- # specter (5)
- # sql (42)
- # timbre (1)
- # uncomplicate (7)
- # untangled (3)
- # videos (1)
- # yada (26)
It happens whenever you add an image (or any other non-source-code file) to your project
Here's a little script I wrote for when I run into these issues: https://gist.github.com/pesterhazy/7fc7e020afa040bef6b11f06b62d2821
basically nukes all kinds of build artifacts by xcode, re-natal, lein, react-native packager
@wojciech I have not added any images. I am creating new project and run. I have these issue
if you're getting stuck, try starting from scratch
then go one step at a time, committing at each safe point
then you'll know what's causing the issue
annoying, but unfortunately sometimes necessary until you get more comfortable with the quirks and rough edges
if you can't figure out a (small!!) step, put that up as a minimal example in a gist, and we'll have a look
but guessing from the error message alone if often not possible
@pesterhazy I have resolved the issues by completly re installing the node and all the environment
sometimes even that is necessary 😞
@pesterhazy Thank You.
in the beginning of working with react native I had trouble making peace with the fact that so much in this area has a component of luck
"clean the cache", "restart" or "re-install npm" is the answer way too often here
on the other hand once you get set up, it mostly works
@manu, you need to do (js/require "asdf")
, ideally in a top-level def
, e.g. (def asdf (js/require "asdf"))
don't do weird stuff like (js/require (str "asdf-" (+ 3 4) "-foo"))
could that be it?
how do you require the module?
@pesterhazy I required
react-navigation
as you said, and I had no problem, but now I need to import an object that is inside the library, but it's not available directly, as written here https://github.com/react-community/react-navigation/issues/1400So i tried to require it with
(def cardstyle (js/require "react-navigation/src/views/CardStackStyleInterpolator.js"))
normally that should work
or at least I think so
maybe re-natal doesn't support this style?
did you re-run use-component
?
with the full string
yeah you may need to do that again, with the whole shebang
@pesterhazy Great now is working!!! 😄 If you will came in Milan you'll have a coffee offered by me! It is a long time i was looking for a solution 😄 thanks again 😄
i might take you up on that, I come to italy every summer
@pesterhazy text me if you came in Milan or Bologna 😉