Fork me on GitHub
#leiningen
<
2018-02-08
>
danielcompton00:02:26

@rnagpal checkout dependencies only work at a source level, for anything which touches dependencies, you need to reinstall a project locally, and make sure any builds that consume a checkout project are restarted

Nikki18:02:55

hi! anyone include any private npm modules using npm-deps? I have it downloading, but can't figure out how to make it available

Nikki19:02:22

:npm-deps {"@private-npm-repo/component" "1.0.0"}

Nikki19:02:54

^ example - since it's a string and doesn't get a namespace created, I can't require it like my other modules

danielcompton19:02:53

@lalanikki is the issue it’s private or that it has a namespace in the dependency spec?

Nikki19:02:17

the issue is that it doesn't seem to create a namespace - I have been using :infer-externs true

Nikki19:02:10

which is working for react & some other npm modules

danielcompton20:02:03

Not sure sorry, you might get more help in #clojurescript or #cljs-node

Nikki03:02:43

btw - thanks for answering me even though it's tough for me to articulate the issue I'm having still - prob should have gone to the beginners channel 🙂 Ended up just using npm-deps for download, but requiring using js interrop functionality in the component (def page (reagent/adapt-react-class (.-default (js/require "@private-npm/page-component"))))

danielcompton03:02:28

No problem, happy to help where I can.