The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
npm init fails when project folder name has a space
What I Wanted to Do
What Happened Instead
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name “web chat”: Tags may not have any characters that encodeURIComponent encodes.
Create a project folder with a space in the name, example: “web chat”.
npm init from inside that folder.
node -p process.platform