-
-
Notifications
You must be signed in to change notification settings - Fork 615
Closed
Description
- Rollup Plugin Name:
@rollup/plugin-typescript - Rollup Plugin Version: 9.0.1
- Rollup Version: 3.1.0
- Operating System (or Browser): Windows
- Node Version: 18.10.0
- Link to reproduction: https://github.com/meyfa/rollup-typescript-estree-repro
I'm getting an error with the newest version of the TypeScript plugin. This did not happen before the Rollup 3 preparations.
How to reproduce:
npm install --save-dev typescript rollup @rollup/plugin-typescript- Define a config with the typescript plugin.
- Perform a TypeScript typecheck, e.g. via
tsc --noEmit.
Expected Behavior
The typecheck succeeds.
Actual Behavior
TypeScript outputs the following error:
node_modules/@rollup/pluginutils/types/index.d.ts:2:26 - error TS2307: Cannot find module 'estree' or its corresponding type declarations.
2 import { BaseNode } from 'estree';
~~~~~~~~
Found 1 error in node_modules/@rollup/pluginutils/types/index.d.ts:2
Additional Information
@rollup/plugin-typescriptstill depends on@rollup/pluginutilsversion^4.2.1, while5.0.0would be available. Maybe this is part of the issue?- I looked at some other issues with this error, especially [@rollup/pluginutils] missing estree in dependencies #1156, but they were never resolved.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels