You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior?
No error (beyond the warning message)
What do you see instead?
$ node repltest.js
>
Error: Could not open history file.
REPL session history will not be persisted.
node:readline:794
StringPrototypeSlice(this.line, 0, this.cursor);
^
TypeError: String.prototype.slice called on null or undefined
at slice (<anonymous>)
at REPLServer.Interface.getCursorPos (node:readline:794:27)
at REPLServer.Interface._refreshLine (node:readline:419:26)
at _writeToOutput (node:internal/repl/history:30:8)
at oninit (node:internal/repl/history:69:7)
at FSReqCallback.oncomplete (node:fs:184:23)
at FSReqCallback.callbackTrampoline (node:internal/async_hooks:131:14)
The text was updated successfully, but these errors were encountered:
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior?
No error (beyond the warning message)
What do you see instead?
The text was updated successfully, but these errors were encountered: