Fork me on GitHub
#shadow-cljs
<
2018-07-22
>
flyboarder07:07:45

@thheller (:require ["@feathersjs/client" :as feathers]) this is returning nil, any idea why?

thheller07:07:34

that has no return value. do you mean feathers is nil?

flyboarder07:07:57

I was previously using cljsjs, moving to shadow-cljs

flyboarder07:07:19

compile happens sucessfully

thheller07:07:11

its not nil for me?

thheller07:07:43

using shadow-cljs browser-repl and (require '["@feathersjs/client" :as x]) (prn x) I get #object[createApplication]

thheller07:07:01

ie. x in this case is a function

flyboarder07:07:05

ok, I am removing node_modules and trying again

flyboarder07:07:40

it detects the missing package and tells me to npm install @feathersjs/client