Skip to content

Installing schematics fails with package managers other than yarn #922

@fogshot

Description

@fogshot

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions