Yarn: Space character allowed in the project name in the "yarn init" wizard

Created on 19 Oct 2016  路  3Comments  路  Source: yarnpkg/yarn

When doing a yarn init:
Putting a space in the project name when the wizard asks for it, like "My Project" works, but then Yarn issues an error when doing a yarn add:
"error My [email protected]: Name contains illegal characters"

cat-bug

Most helpful comment

@olingern ok, no problem. But, please comment before start working. It will save someone else from doing the same thing.

All 3 comments

I'm working on it.

Oh, I just wrapped this up!

@olingern ok, no problem. But, please comment before start working. It will save someone else from doing the same thing.

Was this page helpful?
0 / 5 - 0 ratings