This error appeared while using exponent CLI to build an standalone (shell) app:
[exp] API Response Error: Cannot convert `undefined` with r.expr() in:
r.db("prod").table("credentials").getAll(undefined, {
^^^^^^^^^ ^
index: "username"
^^^^^^^^^^^^^^^^^
})
Check whether you are logged in through exponent CLI via
exp login
note that being logged in exponent XDE does not neccessarily mean you are logged in exponent CLI
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.