Skip to content

Switch to yarn zero installs causes plugin-typescript to not find tslib #1528

Description

@paulober
  • Rollup Plugin Name: @rollup/plugin-typescript
  • Rollup Plugin Version: 11.1.2
  • Rollup Version: 3.26.0
  • Operating System (or Browser):
  • Node Version: v18.16.1
  • Link to reproduction: just run yarn init -2 with corepack yarn inside a npm rollup project and try to build it with rollup

Expected Behavior

It builds normally like with npm

Actual Behavior

[!] (plugin typescript) RollupError: @rollup/plugin-typescript: Could not find module 'tslib', which is required by this plugin. Is it installed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions