You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[@rollup/plugin-typescript] Could not find module 'tslib', which is required by this plugin #1532
Follow the doc,
and run pnpm exec rollup -c --configPlugin typescript ,
then throw error:
[!] (plugin typescript) RollupError: @rollup/plugin-typescript: Could not find module 'tslib', which is required by this plugin. Is it installed?
at error (D:\GitRepo\rollup-test\node_modules\.pnpm\rollup@3.25.3\node_modules\rollup\dist\shared\rollup.js:349:30)
at Object.error (D:\GitRepo\rollup-test\node_modules\.pnpm\rollup@3.25.3\node_modules\rollup\dist\shared\rollup.js:1703:20)
at preflight (D:\GitRepo\rollup-test\node_modules\.pnpm\@rollup+plugin-typescript@11.1.2_rollup@3.25.3_typescript@5.1.6\node_modules\@rollup\plugin-typescript\dist\cjs\index.js:526:17)
at Object.buildStart (D:\GitRepo\rollup-test\node_modules\.pnpm\@rollup+plugin-typescript@11.1.2_rollup@3.25.3_typescript@5.1.6\node_modules\@rollup\plugin-typescript\dist\cjs\index.js:776:13)
at D:\GitRepo\rollup-test\node_modules\.pnpm\rollup@3.25.3\node_modules\rollup\dist\shared\rollup.js:1896:40
at async Promise.all (index 0)
at PluginDriver.hookParallel (D:\GitRepo\rollup-test\node_modules\.pnpm\rollup@3.25.3\node_modules\rollup\dist\shared\rollup.js:1824:9)
at D:\GitRepo\rollup-test\node_modules\.pnpm\rollup@3.25.3\node_modules\rollup\dist\shared\rollup.js:26909:13
at catchUnfinishedHookActions (D:\GitRepo\rollup-test\node_modules\.pnpm\rollup@3.25.3\node_modules\rollup\dist\shared\rollup.js:26167:16)
at rollupInternal (D:\GitRepo\rollup-test\node_modules\.pnpm\rollup@3.25.3\node_modules\rollup\dist\shared\rollup.js:26906:5)
But if I use that typescript2 plugin, this command will work well.
Activity