[Pkg-javascript-devel] Bug#1051550: node-rollup-plugin-terser: Please update (or embed) to @rollup/plugin-terser

Johnny Accot accot at free.fr
Thu Mar 19 08:31:09 GMT 2026


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 rollup at 3.30.0

(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 rollup-plugin-terser at 7.0.2

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



More information about the Pkg-javascript-devel mailing list