-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI doesn't use yarn to install package? #1115
Comments
Can you provide reproduction steps for this? |
@jmcdo29 https://codesandbox.io/s/smoosh-snow-j0yvf |
@kamilmysliwiec it looks like the schematics generator doesn't take into account the package manager. I'm trying to look into where that can be added. Let me know if you know where off the top of your head |
https://github.com/nestjs/schematics/blob/master/src/lib/resource/resource.factory.ts#L180-L186 The |
How can i use yarn? Any cli option support or config support? |
We'll need to make an update to the schematics that Kamil pointed out. You're welcome to make a PR or wait for one of us to have the time to do it |
In lieu of deprecating yarn support entirely, I'd like to advocate that yarn be presented as |
Let me lock this issue to prevent future off-topic. We'll look into this issue as soon as we can. |
My project has the
yarn.lock
file but notpackage-lock.json
. Should it auto useyarn
to install package?I saw the source at
nest-cli/lib/package-managers/package-manager.factory.ts
Line 25 in 8d8c1fd
The text was updated successfully, but these errors were encountered: