Describe the bug
When trying to .connect, I got an error below and program exits:
[Error: ENOENT: no such file or directory, scandir '/Users/karlkim/.chia-repl/scripts'] {
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/Users/karlkim/.chia-repl/scripts'
}
/opt/homebrew/lib/node_modules/chia-repl/node_modules/@chiamine/bls-signatures/blsjs.js:11
if(ia)w=v?require("path").dirname(w)+"/":__dirname+"/",ka=function(a,b){na||(na=require("fs"));oa||(oa=require("path"));a=oa.normalize(a);return na.readFileSync(a,b?null:"utf8")},ma=function(a){a=ka(a,!0);a.buffer||(a=new Uint8Array(a));assert(a.buffer);return a},1<process.argv.length&&(fa=process.argv[1].replace(/\\/g,"/")),process.argv.slice(2),process.on("uncaughtException",function(a){throw a;}),process.on("unhandledRejection",x),h.inspect=function(){return"[Emscripten Module object]"};else if(ja)"undefined"!=
^
RuntimeError: abort(Error: ENOENT: no such file or directory, scandir '/Users/karlkim/.chia-repl/scripts'). Build with -s ASSERTIONS=1 for more info.
at process.x (/opt/homebrew/lib/node_modules/chia-repl/node_modules/@chiamine/bls-signatures/blsjs.js:20:96)
at process.emit (node:events:525:35)
at process.emit (node:domain:489:12)
at emit (node:internal/process/promises:140:20)
at processPromiseRejections (node:internal/process/promises:274:27)
at processTicksAndRejections (node:internal/process/task_queues:97:32)
To Reproduce
Steps to reproduce the behavior:
run .connect
see run-time error and program exits.
Expected behavior
Be able to connect to Chia RPC.
Screenshots
Desktop (please complete the following information):
Describe the bug When trying to
.connect
, I got an error below and program exits:To Reproduce Steps to reproduce the behavior:
.connect
Expected behavior Be able to connect to Chia RPC.
Screenshots
Desktop (please complete the following information):
Additional context This works on 0.13.0.