Replies: 9 comments 6 replies
|
This is a bug. Why was it moved to "Discussion"? And no answer? |
|
Same issue here... |
|
Am having the same issue with Yarn 4.3.0 edit: just saw another discussion of the same #1529 |
|
Same issue here. If @rollup/plugin-typescript needs tslib as a dependency to work properly, then it should install it itself as a dependency and not throw an error. And the answer to the question is clear. Of course it's not installed. Why would it be? I can understand it expecting to find typescript already on a project, but why tslib? Dependencies of this kind should not be managed by a developer, but by the library authors. Specially because they are the ones that know what version of tslib is needed. |
|
The typescript plugin sets plugins/packages/typescript/package.json Lines 62 to 64 in 92daef0 I think a better question here is whether we can improve the error message by prompting the user to install a reasonable version of |
|
Doesn't work for me even with installed tslib.
|
|
Still very much an issue over two years later. |
|
For anyone looking for a quick fix, manually installing |
|
what nuxt 4 use, rolup or rolldow or rollindeep |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Follow the doc,
and run
pnpm exec rollup -c --configPlugin typescript,then throw error:
But if I use that typescript2 plugin, this command will work well.
All reactions