OPA 创建聊天抛出未捕获的异常
OPA create chat throws Uncaught exception
安装后,选中 $opa --version
,它可以运行并显示 1.2.0。但是在那之后,当我输入 $opa create chat
时,如文档中所示,我收到以下错误:
Uncaught exception : ReferenceError: BslString_char_at is not defined
ReferenceError: BslString_char_at is not defined
at __v2_next_ec6de8cf (/usr/local/lib/opa/stdlib/stdlib.qmljs/stdlib.core.opx/main.js:2107:124)
at __v1_an_aux2_f2f00d5f (/usr/local/lib/opa/stdlib/stdlib.qmljs/stdlib.core.rpc.core.opx/main.js:1510:132)
at ___to_text_in_js_ll_f2f00d5f (/usr/local/lib/opa/stdlib/stdlib.qmljs/stdlib.core.rpc.core.opx/main.js:1518:89)
at /usr/local/lib/opa/stdlib/stdlib.qmljs/stdlib.core.rpc.core.opx/main.js:2312:60
at global.execute_ (/usr/lib/node_modules/opabsl.opp/node_modules/opa-js-runtime-cps/main.js:22:49)
at global.execute1 (/usr/lib/node_modules/opabsl.opp/node_modules/opa-js-runtime-cps/main.js:23:50)
at global.loop_schedule (/usr/lib/node_modules/opabsl.opp/node_modules/opa-js-runtime-cps/main.js:38:339)
at global.BslCps_topwait (/usr/lib/node_modules/opabsl.opp/opabslNodeJsPackage.js:958:104)
at Object.<anonymous> (/usr/local/lib/opa/stdlib/stdlib.qmljs/stdlib.core.xhtml.opx/main.js:911:25)
at Module._compile (module.js:456:26)
/usr/lib/node_modules/opabsl.opp/opabslNodeJsPackage.js:959
throw new (global.Error)("Your toplevel contains value which can't be synchron
^
Error: Your toplevel contains value which can't be synchronously computed
at global.BslCps_topwait (/usr/lib/node_modules/opabsl.opp/opabslNodeJsPackage.js:959:7)
at Object.<anonymous> (/usr/local/lib/opa/stdlib/stdlib.qmljs/stdlib.core.xhtml.opx/main.js:911:25)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/local/lib/opa/stdlib/stdlib.qmljs/stdlib.core.web.request.opx/main.js:7:1)
at Module._compile (module.js:456:26)
操作系统:Ubuntu 14.04 64 位
我尝试从源代码安装和构建,但仍然是同样的问题。我也是 linux 的新手,不确定我该如何解决这个问题。看起来这是 C++ STL 代码中的一个问题,但它抱怨的具体功能是:
BslString_char_at is not defined
我无法在互联网上找到,不确定从哪里拉入和放置它。
非常感谢您的帮助。我确实觉得OPA一定有美好的未来,我还没有加入。
谢谢,
阿比吉
sudo opa create chat
适合我
安装后,选中 $opa --version
,它可以运行并显示 1.2.0。但是在那之后,当我输入 $opa create chat
时,如文档中所示,我收到以下错误:
Uncaught exception : ReferenceError: BslString_char_at is not defined
ReferenceError: BslString_char_at is not defined
at __v2_next_ec6de8cf (/usr/local/lib/opa/stdlib/stdlib.qmljs/stdlib.core.opx/main.js:2107:124)
at __v1_an_aux2_f2f00d5f (/usr/local/lib/opa/stdlib/stdlib.qmljs/stdlib.core.rpc.core.opx/main.js:1510:132)
at ___to_text_in_js_ll_f2f00d5f (/usr/local/lib/opa/stdlib/stdlib.qmljs/stdlib.core.rpc.core.opx/main.js:1518:89)
at /usr/local/lib/opa/stdlib/stdlib.qmljs/stdlib.core.rpc.core.opx/main.js:2312:60
at global.execute_ (/usr/lib/node_modules/opabsl.opp/node_modules/opa-js-runtime-cps/main.js:22:49)
at global.execute1 (/usr/lib/node_modules/opabsl.opp/node_modules/opa-js-runtime-cps/main.js:23:50)
at global.loop_schedule (/usr/lib/node_modules/opabsl.opp/node_modules/opa-js-runtime-cps/main.js:38:339)
at global.BslCps_topwait (/usr/lib/node_modules/opabsl.opp/opabslNodeJsPackage.js:958:104)
at Object.<anonymous> (/usr/local/lib/opa/stdlib/stdlib.qmljs/stdlib.core.xhtml.opx/main.js:911:25)
at Module._compile (module.js:456:26)
/usr/lib/node_modules/opabsl.opp/opabslNodeJsPackage.js:959
throw new (global.Error)("Your toplevel contains value which can't be synchron
^
Error: Your toplevel contains value which can't be synchronously computed
at global.BslCps_topwait (/usr/lib/node_modules/opabsl.opp/opabslNodeJsPackage.js:959:7)
at Object.<anonymous> (/usr/local/lib/opa/stdlib/stdlib.qmljs/stdlib.core.xhtml.opx/main.js:911:25)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/local/lib/opa/stdlib/stdlib.qmljs/stdlib.core.web.request.opx/main.js:7:1)
at Module._compile (module.js:456:26)
操作系统:Ubuntu 14.04 64 位我尝试从源代码安装和构建,但仍然是同样的问题。我也是 linux 的新手,不确定我该如何解决这个问题。看起来这是 C++ STL 代码中的一个问题,但它抱怨的具体功能是:
BslString_char_at is not defined
我无法在互联网上找到,不确定从哪里拉入和放置它。
非常感谢您的帮助。我确实觉得OPA一定有美好的未来,我还没有加入。谢谢, 阿比吉
sudo opa create chat
适合我