npm init: backspace creates \u001b chars in package.json instead of deleting

I run npm 6.7.0 in windows 10 git bash terminal.
If I do npm init, enter some info and then erase it via backspace, change caret position, then add it again, I get ‘\u001b’ symbols in generated package.json.

Interesting behaviour, but I think this is an issue with your terminal and shell rather than npm. (i.e. leaving a character in npm arguments)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.