Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sitefox/examples/templates Could not resolve symbol: async #46

Open
jasalt opened this issue Feb 22, 2025 · 0 comments
Open

sitefox/examples/templates Could not resolve symbol: async #46

jasalt opened this issue Feb 22, 2025 · 0 comments

Comments

@jasalt
Copy link

jasalt commented Feb 22, 2025

Maybe something deprecated is called and needs to be updated? Current behavior:

$ npm run serve

> serve
> DEV=1 nbb --classpath ../../src/ webserver.cljs

----- Error --------------------------------------
Message:  Could not resolve symbol: async
Location: /home/user/dev/sitefox/src/sitefox/db.cljs:26:15
Phase:    analysis

----- Context ------------------------------------
22:   See the Keyv documentation for details.
23:   The promise based API has methods like `(.set kv ...)` and `(.get kv ...)` which do what you'd expect."
24:   {:test (fn []
25:            (when (env "TESTING")
26:              (async done
                  ^--- Could not resolve symbol: async
27:                     (p/let [d (kv "tests")
28:                             v #js [1 2 3]
29:                             _ (.set d "hello" v)
30:                             y (.get d "hello")]
31:                       (is (= (js->clj v) (js->clj y))))
Could not resolve symbol: async

nodejs v18.19.0

The npm create sitefox-nbb mywebsite demonstrates some of this which works however.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant