Skip to content

yarn create @scope doesnt work as expectedΒ #6233

Closed
@iamstarkov

Description

@iamstarkov

What is the current behavior? it is also steps to reproduce

## create doesnt recognise scope without "/"
☯ yarn create @scope
yarn create v1.9.4
[1/4] πŸ”  Resolving packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/create-: Not found".

## create recognise scope with "/", but adds unnecessary "-" in the end
☯ yarn create @scope/
yarn create v1.9.4
[1/4] πŸ”  Resolving packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/@scope%2fcreate-: Not found".

What is the expected behavior? npm's one is an expected behaviour

☯ npm init @scope
npm ERR! code E404
npm ERR! 404 Not Found: @scope/create@latest

Please mention your node.js, yarn and operating system version.

darwin 17.7.0
Node.js v8.11.3
yarn 1.9.4

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions