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
signature.asc
Description: signature