devon4ts icon indicating copy to clipboard operation
devon4ts copied to clipboard

Installing schematics fails with package managers other than yarn

Open fogshot opened this issue 2 years ago • 0 comments

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 avatar Jun 15 '23 08:06 fogshot