[Pkg-javascript-devel] Bug#977269: Bug#977269: node-rollup-plugin-terser seems incompatible with current node-terser

Jonas Smedegaard jonas at jones.dk
Sun Dec 13 19:29:46 GMT 2020


Quoting Jonas Smedegaard (2020-12-13 17:22:05)
> Quoting Xavier Guimard (2020-12-13 13:19:47)
> > Package: node-rollup-plugin-terser
> > Version: 7.0.2-2
> > Severity: grave
> > Justification: renders package unusable
> > 
> > When trying current rollup-plugin-terser (7.0.2)  with current
> > node-terser (4.1.2), package is unuseable:
> > 
> > $ rollup -c
> > 
> > index.js → dist/pako.js, dist/pako.min.js...
> > [!] (plugin terser) Error: Cannot find module '/home/xavier/dev/debian/src/pkg-js/packages/node-pako/node_modules/terser/dist/bundle.min.js'. Please verify that the package.json has a valid "main" entry
> 
> Neither node-rollup-plugin-terser nor node-terser asks for files below 
> /home/xavier - please try locate which code did that.

Something _is_ broken with node-rollup-plugin-terser - the provided 
error message is just not really helpful for me.

I might have a fix for the error I located - we'll see if that turns out 
to also cure the issue you are experiencing, but for future sake please 
try unwrap any node_modules tricks when reporting bugs, as they hide 
ability to trace what is going on where (at least for me - I have no 
doubt that you are fluent in your tools).


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20201213/d54b436b/attachment.sig>


More information about the Pkg-javascript-devel mailing list