繁体   English   中英

使用exp build时出错:[exp] API响应错误:无法使用r.expr()转换`undefined`

[英]error when using exp build : [exp] API Response Error: Cannot convert `undefined` with r.expr()

使用exponent CLI构建独立(shell)应用程序时出现此错误:

[exp] API Response Error: Cannot convert `undefined` with r.expr() in:
r.db("prod").table("credentials").getAll(undefined, {
                                         ^^^^^^^^^  ^
    index: "username"
    ^^^^^^^^^^^^^^^^^
})

检查您是否通过exponent CLI登录

exp login

请注意,登录到指数XDE并不一定意味着您已登录指数CLI

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM