3
votes

I'm trying to get started learning cljs by prototyping a react native app with expo. I set up a project with a Leiningen template "lein new expo". I installed cursive as well and added a configuration to connect it to the nRepl of my project.

The issue is that Cursive seems unable to resolve basic things. My basic hello world example is filled with "cannot resolve js/require". I must be missing some basic configuration for Cursive to warn about build in CLJS functions. Unfortunately I don't see anything about it in the documentation.

1

1 Answers

1
votes

I've seen Cursive resolve when there is JavaScript source it can parse in order to build an index. But, for many JavaScript interop calls, it is fairly normal for it to not resolve things.

With respect to your particular js/require is marked as unresolved for me as well.