Skip to content
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

Installing schematics fails with package managers other than yarn #922

Open
fogshot opened this issue Jun 15, 2023 · 0 comments
Open

Installing schematics fails with package managers other than yarn #922

fogshot opened this issue Jun 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@fogshot
Copy link

fogshot commented Jun 15, 2023

Expected behavior

As a developer using npm I want to be able to install schematics.

Actual behavior

When trying to use the convict schematic, package installation fails when npm is configured as package manager.

Steps to reproduce (bug) / Use Case of feature request (enhancement)

  1. Create a new nest.js project
  2. Select npm as the package manager
  3. install @devon4node/schematics
  4. run nest g -c @devon4node/schematics convict

Related/Dependent Issues

Comments/Hints:

yarn is hard-coded in tree-utils in line 90

Affected version:

@devon4node/schematics: 5.0.1
@nestjs/cli: 9.0.0
node: 18.16.12

@fogshot fogshot added the bug Something isn't working label Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant