Skip to content

pnpm - windows #2864

@joelfmrodrigues

Description

@joelfmrodrigues

Category

  • Question
  • Typo
  • Bug
  • Additional article idea

Expected or Desired Behavior

Scaffold a new SPFx project and use pnpm as the package manager (one of the options provided)

Observed Behavior

After creating a new project, I get build errors as the build task is unable to find tslint and typescript.
I also have those modules installed globally for other tools, but not sure if this is related to the problem.

Created a blog post with more detail and a workaround by specifying the packages as dependencies.

Steps to Reproduce

Create a new project and specify pnpm as the package manager (tested with SPFx 1.6.0)
run 'gulp build'

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:generatorCategory: SharePoint Framework Yeoman generatorarea:spfxCategory: SharePoint Framework (not extensions related)status:trackedCurrently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)type:bug-confirmedConfirmed bug, not working as designed / expected.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions