npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

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)