Skip to content

Can't use it with yarn2 #555

Closed
Closed
@JVictorV

Description

@JVictorV

I'm submitting a...


[ ] Regression 
[x] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request

Current behavior

outputs: ⚡ We will scaffold your app in a few seconds.. and do not create my project

Expected behavior

A new folder with the project

Minimal reproduction of the problem with instructions

npm install -g yarn@berry
cd /to/your/projects/folder
yarn dlx -p @nestjs/cli nest new my-nest-app

What is the motivation / use case for changing the behavior?

Yarn team recently released Yarn berry, the 2.0 version of yarn with a lot of new cool stuff, but unfortunately they don't support global packages the same way yarn 1 does. I think that adding support to it would be a nice feature

Environment

 _   _             _      ___  _____  _____  _     _____
| \ | |           | |    |_  |/  ___|/  __ \| |   |_   _|
|  \| |  ___  ___ | |_     | |\ `--. | /  \/| |     | |
| . ` | / _ \/ __|| __|    | | `--. \| |    | |     | |
| |\  ||  __/\__ \| |_ /\__/ //\__/ /| \__/\| |_____| |_
\_| \_/ \___||___/ \__|\____/ \____/  \____/\_____/\___/


[System Information]
OS Version     : Linux 5.4
NodeJS Version : v13.7.0
NPM Version    : 6.13.6 

[Nest CLI]
Nest CLI Version : 6.14.1 

[Nest Platform Information]
😼  cannot read your project package.json file, are you inside your project directory?

(No package.json because i could'nt create the project)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions