安装完成后,选中$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位
未定义BslString_char_at
我无法在互联网上找到,也不确定从何处拉入并放置它。
我们将非常感谢您的帮助。我确实认为OPA必须有一个美好的未来,我还没有加入。
谢谢, 作者Abhijit
答案 0 :(得分:0)
sudo opa create chat
适合我