rollup-plugin-terser is now (and has been for a long while) "incompatible" with the rollup version shipped in debian. It requires rollup ^2.0.0 [1] while debian has shipped rollup ^3.0.0 since 2022. This incompatibility affects unstable, stable and oldstable [2]. Run:

$ npm install [email protected]

(which is the version in sid), then run:

$ npm install rollup-plugin-terser

and you will get the following error:

npm ERR! Could not resolve dependency:
npm ERR! peer rollup@"^2.0.0" from [email protected]

I put "incompatible" in quotes above because the plugin may still work with the new rollup, but it may not. It is six years old, I believe the package should be upgraded (or removed) soon.

[1] https://github.com/TrySound/rollup-plugin-terser/blob/master/package.json
[2] https://tracker.debian.org/pkg/node-rollup

Reply via email to