求助-使用nodejs-repl出错

windows、manjaro下都一样。。。 使用 M-x nodejs-repl 后,出现如下错误,无法使用:

[eval]:1
require('repl').start({prompt:
                              

SyntaxError: Unexpected end of input
    at new Script (node:vm:100:7)
    at createScript (node:vm:257:10)
    at Object.runInThisContext (node:vm:305:10)
    at node:internal/process/execution:81:19
    at [eval]-wrapper:6:22
    at evalScript (node:internal/process/execution:80:60)
    at node:internal/main/eval_string:27:3

Process nodejs finished

请教这个该怎么解决?