lein-figwheel

2016-12-20T00:48:16.000097Z

Hey! So I have an issue with figwheel not picking up the :websocket-url config

2016-12-20T00:48:47.000098Z

In the root of project.clj I have the following:

:cljsbuild {:builds [{:id "web"
                      :source-paths ["src" "env/dev"
                                     "../../../quantum/src/cljc"
                                     "../../../quantum/src/clj"]
                      :figwheel     {:load-warninged-code true
                                     :websocket-url "ws://<IP>/figwheel-ws"}
                      :compiler     {:output-to     "./resources/public/js/web/main.js"
                                     :main          "env.ios.main"
                                     :output-dir    "./resources/public/js/web"
                                     :optimizations :none
                                     :warnings {:redef-in-file false}}}

2016-12-20T00:49:13.000099Z

It hangs on Figwheel: trying to open cljs reload socket

bhauman 2016-12-20T00:49:16.000100Z

"ws://<IP>/figwheel-ws"

bhauman 2016-12-20T00:49:23.000101Z

that isn't valid

2016-12-20T00:49:29.000102Z

For the url?

bhauman 2016-12-20T00:49:33.000103Z

yeah

2016-12-20T00:49:58.000104Z

I tried websocket-host as just <IP> and also :js-client-host but that didn’t help...

2016-12-20T00:50:29.000107Z

I can try that again? Because I just barely pulled out the cljsbuild config from a :dev profile thinking maybe the nestedness was causing issues

2016-12-20T00:50:33.000108Z

Right, I’ve read that

2016-12-20T00:50:58.000109Z

I tried first :websocket-host &lt;IP&gt;

2016-12-20T00:51:10.000110Z

Then :websocket-url ws://&lt;IP&gt;/figwheel-ws”

bhauman 2016-12-20T00:51:13.000111Z

oh sorry you cleaned the input

bhauman 2016-12-20T00:51:23.000112Z

thats the actual ip

2016-12-20T00:51:23.000113Z

Haha yes 🙂

2016-12-20T00:51:41.000114Z

Yes e.g. 401.239.144.331 (not the actual IP)

bhauman 2016-12-20T00:51:57.000115Z

so how are you starting figwheel?

2016-12-20T00:52:38.000116Z

I’m starting it remotely on an AWS instance in the appropriate project directory

2016-12-20T00:52:46.000117Z

sudo LEIN_ROOT=1 lein figwheel web

bhauman 2016-12-20T00:52:58.000118Z

and you have the port set?

bhauman 2016-12-20T00:53:10.000119Z

and the AWS port is open

2016-12-20T00:53:12.000120Z

Port 3449 is open in the security settings, yes

2016-12-20T00:53:22.000121Z

When you say the port set, what does that mean?

bhauman 2016-12-20T00:53:28.000122Z

and the websocket-url has the port in it?

bhauman 2016-12-20T00:53:59.000123Z

ws://<IP>:<port>/figwheel-ws

2016-12-20T00:54:24.000124Z

Yes

bhauman 2016-12-20T00:54:34.000125Z

also there is one other thing the webserver is starting on the 0.0.0.0 interface

bhauman 2016-12-20T00:55:01.000126Z

you may want to set the :server-ip your server ip

2016-12-20T00:55:15.000127Z

Well so there’s the AWS private IP and the elastic IP

2016-12-20T00:55:28.000128Z

I tried setting the :server-ip to the elastic IP but that failed

bhauman 2016-12-20T00:55:47.000129Z

so try 127.0.0.1

2016-12-20T00:56:15.000130Z

{:id "web"
 :source-paths ["src" "env/dev"
                "../../../quantum/src/cljc"
                "../../../quantum/src/clj"]
 :figwheel     {:load-warninged-code true
                :websocket-url "<ws://XX.XX.XX.XX:3449/figwheel-ws>"}
 :compiler     {:output-to     "./resources/public/js/web/main.js"
                :main          "env.ios.main"
                :output-dir    "./resources/public/js/web"
                :optimizations :none
                :warnings {:redef-in-file false}}}

2016-12-20T00:56:19.000131Z

As the client

bhauman 2016-12-20T00:56:22.000132Z

no

2016-12-20T00:56:34.000133Z

But server, :figwheel {:server-ip 127.0.0.1}

bhauman 2016-12-20T00:56:38.000134Z

oh yea

bhauman 2016-12-20T00:56:50.000136Z

in the top level figwheel

2016-12-20T00:56:55.000137Z

Yup!

2016-12-20T00:56:57.000138Z

Trying now

2016-12-20T00:57:32.000140Z

(This is what is has been doing btw)

bhauman 2016-12-20T00:57:58.000141Z

that says localhost

2016-12-20T00:58:25.000142Z

Yes, that’s what it has been doing — like I said, it seems to have not been picking up the config

bhauman 2016-12-20T00:58:50.000143Z

how are you starting figwheel?

bhauman 2016-12-20T00:58:52.000144Z

lein ?

bhauman 2016-12-20T00:58:56.000145Z

script?

2016-12-20T00:59:00.000146Z

sudo LEIN_ROOT=1 lein figwheel web manually

2016-12-20T00:59:12.000147Z

In the directory where that project.clj is

2016-12-20T00:59:41.000148Z

(Meanwhile I killed figwheel and restarted as per that command, after applying the :figwheel {:server-ip “127.0.0.1”} edit — maybe it changes things)

bhauman 2016-12-20T00:59:53.000149Z

do print-config in the figwheel repl

2016-12-20T01:00:08.000150Z

I would if it connected 😉

bhauman 2016-12-20T01:00:26.000151Z

bummer

bhauman 2016-12-20T01:00:54.000152Z

so you put this config at the root of your lein project.clj?

bhauman 2016-12-20T01:01:02.000153Z

the :cljsbuild config

bhauman 2016-12-20T01:01:36.000154Z

and you are sure your :profiles {:web } isn't overriding it?

2016-12-20T01:02:15.000155Z

(defproject &lt;PROJECT&gt; "0.1.0-SNAPSHOT"
  :description "FIXME: write description"
  :url "<http://example.com/FIXME>"
  :license {:name "Eclipse Public License"
            :url  "<http://www.eclipse.org/legal/epl-v10.html>"}
  ;:git-dependencies [["<https://github.com/alexandergunnarson/quantum.git>"]]
  :dependencies
     [ ...
      [org.clojure/tools.analyzer.jvm "0.6.10"]
      [reagent "0.6.0-rc" :exclusions [cljsjs/react cljsjs/react-dom cljsjs/react-dom-server]]
      [re-frame "0.8.0-alpha11"]]
  :plugins [[lein-cljsbuild         "1.1.1"  ]
            [lein-figwheel          "0.5.8"]
            #_[oubiwann/lein-git-deps "0.0.3"  ]]
  :clean-targets ["target/"]
  :aliases {"dependencies" ["pdo"
                              "deps,"
                              "sudo" "npm" "install"
                              "sudo" "rnpm" "link"
                              ; When encountering a build error,
                              ; <https://github.com/lelandrichardson/react-native-maps/issues/371#issuecomment-231585153>

                              ]
            "prod-build" ^{:doc "Recompile code with prod profile."}
                         ["do" "clean"
                          ["with-profile" "prod" "cljsbuild" "once" "ios"]
                          ["with-profile" "prod" "cljsbuild" "once" "android"]]}
  :figwheel  {:server-ip "127.0.0.1"}
  :cljsbuild {:builds [{:id "web"
                        :source-paths ["src" "env/dev"]
                        :figwheel     {:load-warninged-code true
                                       :websocket-url "<ws://XX.XX.XX.XX:3449/figwheel-ws>"}
                        :compiler     {:output-to     "./resources/public/js/web/main.js"
                                       :main          "env.ios.main"
                                       :output-dir    "./resources/public/js/web"
                                       :optimizations :none
                                       :warnings {:redef-in-file false}}}
                       {:id "ios"
                        :source-paths ["src" "env/dev"]
                        :figwheel     {:load-warninged-code true :websocket-url "<ws://XX.XX.XX.XX:3449/figwheel-ws>"}
                        :compiler     {:output-to     "target/ios/not-used.js"
                                       :main          "env.ios.main"
                                       :output-dir    "target/ios"
                                       :optimizations :none
                                       :warnings {:redef-in-file false}}}
                       {:id "android"
                        :source-paths ["src" "env/dev"]
                        :figwheel     {:load-warninged-code true :websocket-url "<ws://XX.XX.XX.XX:3449/figwheel-ws>"}
                        :compiler     {:output-to     "target/android/not-used.js"
                                       :main          "env.android.main"
                                       :output-dir    "target/android"
                                       :optimizations :none
                                       :warnings {:redef-in-file false}}}]}
  :profiles {:dev {:dependencies [[figwheel-sidecar "0.5.0-6"]
                                  [com.cemerick/piggieback "0.2.1"]]
                   :source-paths ["src" "env/dev"]
                   :repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}})

2016-12-20T01:02:28.000156Z

Full project.clj (dependencies elided)

2016-12-20T01:03:16.000157Z

By the way, now trying to connect to <IP>:3449 in the browser says “this site can’t be reached"

2016-12-20T01:03:27.000158Z

(Possibly because of the 127.0.01)

2016-12-20T01:03:41.000159Z

Thanks so much for your help with this by the way! Extremely prompt 👍

2016-12-20T01:04:19.000160Z

Ah… I’m seeing something now… figwheel-sidecar has a different version

2016-12-20T01:04:45.000161Z

Removing that dep and trying again

bhauman 2016-12-20T01:05:02.000162Z

yeah you have to keep hitting shift reload

bhauman 2016-12-20T01:05:17.000163Z

or you'll be messing with cached versions

bhauman 2016-12-20T01:05:25.000164Z

even if you have caching disabled

2016-12-20T01:05:40.000165Z

Ah, okay doing it

2016-12-20T01:05:56.000166Z

Well, after it’s up haha

bhauman 2016-12-20T01:06:27.000167Z

so I'm thinking it is picking up the config

2016-12-20T01:06:29.000168Z

Also, figwheel has been saying that the :compiler :warnings key isn’t valid

2016-12-20T01:06:35.000169Z

Maybe that’s related?

bhauman 2016-12-20T01:07:37.000170Z

well it wouldn't start if there is a warning

2016-12-20T01:08:03.000171Z

I press s

2016-12-20T01:08:17.000173Z

Maybe that shadows another warning?

bhauman 2016-12-20T01:08:19.000174Z

oh well that should work

2016-12-20T01:08:51.000175Z

Also, figwheel’s up again (`Prompt will show when Figwheel connects to your application`), but shift-reload in the browser says refused to connect

bhauman 2016-12-20T01:08:59.000177Z

to localhost?

bhauman 2016-12-20T01:09:14.000178Z

or to your elastic ip now

2016-12-20T01:09:47.000179Z

I’ve always been running figwheel from the elastic IP for this particular project

bhauman 2016-12-20T01:10:18.000180Z

in the client what is it trying to connect to?

2016-12-20T01:10:39.000181Z

The client is my laptop connecting to the elastic IP via Chrome

2016-12-20T01:10:56.000182Z

The elastic IP points to the AWS instance on which figwheel is running

2016-12-20T01:11:09.000183Z

It worked before the 127.0.0.1 edit

bhauman 2016-12-20T01:11:12.000184Z

so the configuration is making it through

2016-12-20T01:11:24.000185Z

Right, should be

bhauman 2016-12-20T01:11:43.000186Z

you have the correct websocket url in the client now

2016-12-20T01:12:04.000187Z

The browser doesn’t actually load the page at all is what I’m saying

bhauman 2016-12-20T01:12:11.000188Z

yes I understand that

2016-12-20T01:12:28.000190Z

When you say “in the client” you mean in project.clj?

bhauman 2016-12-20T01:12:45.000192Z

get rid of the 127.0.0.1

2016-12-20T01:12:52.000193Z

All right, doing that now

2016-12-20T01:13:21.000194Z

Relaunching figwheel

bhauman 2016-12-20T01:13:37.000195Z

is your page a static html file?

bhauman 2016-12-20T01:13:49.000196Z

that is served by figwheel?

2016-12-20T01:14:07.000197Z

Yes

2016-12-20T01:14:17.000198Z

Just a very small index.html I created that references the .js files

2016-12-20T01:14:41.000199Z

Well, possibly one concern is this:

2016-12-20T01:15:40.000200Z

Sorry, trying to pull it up

2016-12-20T01:16:26.000201Z

&lt;html&gt;
  &lt;head&gt;
    &lt;head&gt;
    &lt;!-- &lt;link rel="stylesheet" type="text/css" href="./Fonts/selected-fonts.css"&gt; --&gt;
    &lt;!-- &lt;meta name="viewport" content="width=device-width, initial-scale=0.67, maximum-scale=0.67, user-scalable=no"&gt; --&gt;
    &lt;!-- &lt;link rel="stylesheet" href="react-virtualized.css"&gt;&lt;/style&gt; --&gt;
    &lt;style type="text/css" id="dynamic"&gt;&lt;/style&gt;
    &lt;style type="text/css" id="default-style"&gt;
      html, body {
        -webkit-font-smoothing:  antialiased;
        -moz-osx-font-smoothing: grayscale;
      }
      ::-webkit-scrollbar {
        display: none;
      }
    &lt;/style&gt;
    &lt;!-- &lt;link rel="stylesheet" href="fixed-data-table.css"&gt;&lt;/style&gt; --&gt;
    &lt;!-- "https://bitwiseshiftleft.github.io/sjcl/sjcl.js" --&gt;
    &lt;!-- &lt;script type="text/javascript" src="/js/forge.bundle.js"&gt;&lt;/script&gt; --&gt;
    &lt;!-- &lt;script type="text/javascript" src="/js/crypto-aes.js"  &gt;&lt;/script&gt; --&gt;
    &lt;!-- &lt;script src="js/react-0.14.7.js"     type="text/javascript"&gt;&lt;/script&gt; --&gt;
    &lt;!-- &lt;script src="js/react-0.14.7.min.js"     type="text/javascript"&gt;&lt;/script&gt; --&gt;
    &lt;script src="/js/npm-deps.js"&gt;&lt;/script&gt;
    &lt;!--&lt;script src="js/pdfjs.worker.min.js"&gt;&lt;/script&gt;--&gt;
    &lt;!-- &lt;script src="js/react-dom-0.14.7.min.js" type="text/javascript"&gt;&lt;/script&gt; --&gt;
    &lt;!-- &lt;script src="js/react-infinite.min.js"   type="text/javascript"&gt;&lt;/script&gt; --&gt;
    &lt;!-- &lt;script src="js/bitdash.min.js"&gt;&lt;/script&gt; --&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;script&gt;
      var React       = quantaRNDeps.React;
      var ReactNative = quantaRNDeps.ReactNative;
    &lt;/script&gt;
    &lt;div id=root&gt;&lt;/div&gt;
    &lt;script src="/js/web/goog/base.js"&gt;&lt;/script&gt;
    &lt;script src="/js/web/cljs_deps.js"&gt;&lt;/script&gt;
    &lt;script&gt;if (typeof goog == "undefined") console.warn("ClojureScript could not load :main, did you forget to specify :asset-path?");&lt;/script&gt;
    &lt;script&gt;if (typeof goog != "undefined") { goog.require("figwheel.connect"); }&lt;/script&gt;
    &lt;!-- If you put this outside of the &lt;body&gt; it might say 'js/document.-body not defined' --&gt;
    &lt;!-- &lt;script src="/js/web/main.js"&gt;&lt;/script&gt; --&gt;
    &lt;script&gt;goog.require("env.ios.main");&lt;/script&gt;
  &lt;/body&gt;
&lt;/html&gt;

2016-12-20T01:16:42.000202Z

Ignore the crazy number of comments

2016-12-20T01:17:13.000203Z

I was trying to reference just /js/web/main.js but I was running into an issue with paths, I believe

2016-12-20T01:17:33.000204Z

Something like goog.base couldn’t be found

bhauman 2016-12-20T01:18:19.000205Z

so is the page loading now?

2016-12-20T01:18:39.000206Z

Sorry, I got a late start on reloading figwheel — should be another 10 sec

2016-12-20T01:18:46.000207Z

Just kidding, it’s done

2016-12-20T01:18:56.000208Z

Yes, now the page loads

bhauman 2016-12-20T01:19:05.000209Z

and figwheel doesn't connect?

2016-12-20T01:19:26.000210Z

"Figwheel: trying to open cljs reload socket"

2016-12-20T01:19:35.000211Z

Server side, no connection either

2016-12-20T01:19:39.000212Z

"Prompt will show when Figwheel connects to your application"

bhauman 2016-12-20T01:20:18.000213Z

in dev tools it is showing that figwheel is trying to connect to your ip:port

bhauman 2016-12-20T01:20:20.000214Z

?

2016-12-20T01:20:28.000215Z

Yup! "Figwheel: trying to open cljs reload socket”

bhauman 2016-12-20T01:20:29.000216Z

and you did hit shift reload?

2016-12-20T01:20:49.000217Z

Oh, figwheel isn’t printing out the ip:port combo (That would be nice though)

2016-12-20T01:21:07.000218Z

Doing shift-reload again

bhauman 2016-12-20T01:21:16.000219Z

like in the error you pasted above

2016-12-20T01:21:20.000220Z

Figwheel: trying to open cljs reload socket and hangs as usual

bhauman 2016-12-20T01:21:25.000221Z

could you paste the error?

bhauman 2016-12-20T01:21:33.000222Z

the devtools error?

2016-12-20T01:21:41.000223Z

utils.cljs?rel=1482193632635:49 &gt; Figwheel: trying to open cljs reload socket

2016-12-20T01:21:52.000224Z

Chrome dev tools right? Not some extension I might not have?

2016-12-20T01:22:22.000228Z

Ah, it’s taking very long to print that out

2016-12-20T01:22:24.000229Z

Always does

2016-12-20T01:22:33.000230Z

Like 60 sec or something? Maybe more

2016-12-20T01:22:37.000231Z

Oh now I see it

2016-12-20T01:22:41.000232Z

socket.cljs?rel=1482195136016:63 WebSocket connection to '<ws://localhost:3449/figwheel-ws>' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

2016-12-20T01:22:45.000233Z

Still localhost

2016-12-20T01:23:49.000234Z

Figwheel works like a charm locally but I’ve always run into errors around non-localhost scenarios and just given up

2016-12-20T01:24:21.000235Z

I’m sure it’ll be just fine in a bit 🙂

bhauman 2016-12-20T01:24:55.000236Z

ok you need to look at the output file /resources/public/js/web/figwheel/connect/web.cljs

2016-12-20T01:25:03.000237Z

All right, going there

bhauman 2016-12-20T01:25:28.000238Z

look at the websocket host

2016-12-20T01:25:30.000239Z

I only have connect.cljs

2016-12-20T01:25:38.000240Z

client client.cljs client.cljs.cache.json client.js client.js.map connect.cljs connect.cljs.cache.json connect.js connect.js.map

bhauman 2016-12-20T01:25:42.000241Z

ok look hat that

2016-12-20T01:25:45.000242Z

Okay

bhauman 2016-12-20T01:25:48.000243Z

ok look at that

2016-12-20T01:25:58.000244Z

`(ns figwheel.connect (:require [env.ios.main] [figwheel.client] [figwheel.client.utils])) (figwheel.client/start {:load-warninged-code true, :build-id "web", :websocket-url "ws://[[client-hostname]]:3449/figwheel-ws”})`

2016-12-20T01:26:25.000245Z

How is client-hostname localhost?? When location.host is "52.4.208.191:3449” ?

2016-12-20T01:26:36.000246Z

Anyway the IP isn’t getting put in

2016-12-20T01:27:54.000247Z

Also let me check my dependency tree to make sure figwheel isn’t being overridden by an earlier version or something...

bhauman 2016-12-20T01:28:19.000248Z

well this makes no sense

2016-12-20T01:29:19.000249Z

Yeah heh it doesn’t 😛

2016-12-20T01:29:34.000250Z

I hope I’m doing something wrong, because that would be easier

bhauman 2016-12-20T01:29:56.000251Z

please do a lein clean

bhauman 2016-12-20T01:30:48.000252Z

also get rid of the :warnings key

bhauman 2016-12-20T01:31:02.000253Z

and make sure that there are no other config errors

2016-12-20T01:31:18.000254Z

I had an old version of figwheel (`0.5.4-7` in dependencies, not the 0.5.8 in plugins) which I updated to 0.5.8

2016-12-20T01:31:22.000255Z

And I’ll do the rest

2016-12-20T01:31:37.000256Z

lein clean done

2016-12-20T01:32:09.000257Z

Got rid of warnings key and trying again with figwheel

2016-12-20T01:33:20.000258Z

I manually cleaned some things just now by the way because they weren’t in clean targets (the js/web directory for instance)

2016-12-20T01:33:59.000259Z

No config errors

2016-12-20T01:34:30.000260Z

Still loading

bhauman 2016-12-20T01:34:32.000261Z

look at that file again after compile

2016-12-20T01:34:35.000262Z

Yup

2016-12-20T01:38:03.000263Z

It’s up but I don’t see figwheel/connect

2016-12-20T01:38:13.000264Z

Before and after shift-reloading I still don’t see it

2016-12-20T01:38:29.000265Z

resources/public/js/web/figwheel shows client client.cljs client.cljs.cache.json client.js client.js.map

2016-12-20T01:38:41.000266Z

client folder shows

file_reloading.cljs             file_reloading.js.map     heads_up.js      socket.cljs.cache.json  utils.cljs             utils.js.map
file_reloading.cljs.cache.json  heads_up.cljs             heads_up.js.map  socket.js               utils.cljs.cache.json
file_reloading.js               heads_up.cljs.cache.json  socket.cljs      socket.js.map           utils.js

2016-12-20T01:39:37.000268Z

Still WebSocket connection to '<ws://localhost:3449/figwheel-ws>' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

bhauman 2016-12-20T01:39:52.000269Z

hmmm look at your main file

2016-12-20T01:40:02.000270Z

Which main file? main.js?

bhauman 2016-12-20T01:40:30.000271Z

yes web main.js

bhauman 2016-12-20T01:40:55.000272Z

oh yeah in 5.8 its in memory

2016-12-20T01:40:55.000273Z

var CLOSURE_UNCOMPILED_DEFINES = null;
if(typeof goog == "undefined") document.write('&lt;script src="./resources/public/js/web/goog/base.js"&gt;&lt;/script&gt;');
document.write('&lt;script src="./resources/public/js/web/cljs_deps.js"&gt;&lt;/script&gt;');
document.write('&lt;script&gt;if (typeof goog == "undefined") console.warn("ClojureScript could not load :main, did you forget to specify :asset-path?");&lt;/script&gt;');

document.write("&lt;script&gt;if (typeof goog != \"undefined\") { goog.require(\"figwheel.connect.web\"); }&lt;/script&gt;");
document.write('&lt;script&gt;goog.require("env.ios.main");&lt;/script&gt;');

2016-12-20T01:41:18.000274Z

Yeah this is why I don’t use main.js — I use env.ios.main directly

bhauman 2016-12-20T01:41:24.000275Z

so there should be a figwheel connect web

2016-12-20T01:41:24.000276Z

Because goog.require(\"figwheel.connect.web\”) fails

2016-12-20T01:41:36.000277Z

Hmm okay, trying at least

2016-12-20T01:41:57.000278Z

goog.require('figwheel.connect.web’) -> null

2016-12-20T01:42:22.000279Z

ls on figwheel directory yields client client.cljs client.cljs.cache.json client.js client.js.map

2016-12-20T01:42:29.000280Z

client is a folder

2016-12-20T01:42:42.000281Z

No connect

bhauman 2016-12-20T01:43:11.000282Z

OK so you have all kinds of things going on here

bhauman 2016-12-20T01:43:23.000283Z

the two versions of figwheel was bad

2016-12-20T01:43:23.000284Z

Heh 😛

bhauman 2016-12-20T01:43:29.000285Z

really bad

2016-12-20T01:43:34.000286Z

Yes, fixed that though

bhauman 2016-12-20T01:43:58.000287Z

and you did a clean compile?

2016-12-20T01:44:02.000288Z

Yes

2016-12-20T01:44:12.000289Z

lein clean and manually removed the js/web folder

2016-12-20T01:44:34.000290Z

This is why it took 212.987 seconds instead of ~40 😛

bhauman 2016-12-20T01:44:45.000291Z

and the js/web/main.js requires figwheel.connect.web

2016-12-20T01:45:34.000292Z

Hmm right..

bhauman 2016-12-20T01:45:58.000293Z

then there has to be a figwheel/connect/web.js

2016-12-20T01:45:59.000294Z

Do I need to have something else as a dependency for figwheel.connect.web to be generated?

bhauman 2016-12-20T01:46:08.000295Z

nope

2016-12-20T01:47:13.000296Z

Hmm let me try to find if figwheel has a weird interaction via lein deps :tree

bhauman 2016-12-20T01:47:28.000297Z

ok I would run this locally and first get it to connect

bhauman 2016-12-20T01:47:39.000298Z

and fix you html file

2016-12-20T01:48:37.000299Z

It does connect locally (in some sense) — I just always have used figwheel for this project in the context of React Native (re-natal) so I didn’t have to use figwheel’s 3449, just RN’s 8080

2016-12-20T01:48:48.000300Z

But yeah the lack of 3449 connection is the issue here

2016-12-20T01:49:05.000301Z

Which I think will be fixed by fixing dependencies?

2016-12-20T01:49:10.000302Z

If that doesn’t work I’ll come back

2016-12-20T01:49:26.000303Z

But I know where to look now at least

bhauman 2016-12-20T01:49:51.000304Z

dude do you want to screen share?

2016-12-20T01:50:46.000305Z

Haha sure 😛 I feel pretty confident about the next step (dependency fixes) and don’t want to take up more of your time but this is a strange enough situation apparently...

2016-12-20T01:50:49.000306Z

I have screenhero

2016-12-20T01:51:01.000307Z

Do you? I can invite you

bhauman 2016-12-20T01:51:14.000308Z

I have screen here as well

2016-12-20T01:51:25.000309Z

Cool, what’s your username

2016-12-20T01:51:25.000310Z

?

bhauman 2016-12-20T01:51:35.000311Z

Bruce Hauman

2016-12-20T01:51:58.000312Z

Oops, email I guess (you can delete the address from Slack after I put it into Screenhero)

2016-12-20T01:52:13.000313Z

Screenhero doesn’t do lookups by username

bhauman 2016-12-20T01:52:21.000314Z

<mailto:bhauman@gmail.com|bhauman@gmail.com>

2016-12-20T01:52:23.000315Z

Thanks!

2016-12-20T01:52:36.000316Z

It says “invitation sent"

bhauman 2016-12-20T01:52:45.000317Z

I'm in

2016-12-20T02:41:23.000318Z

Thanks so much for all your help!

👍 1