<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 26 juil. 2019 à 15:15, Pirate Praveen <<a href="mailto:praveen@onenetbeyond.org">praveen@onenetbeyond.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Package: node-tslib, node-typescript, node-rollup-plugin-typescript<br>Severity: serious<br>Justification: breaks node-rollup-plugin-typescript<br><br>In last upload of node-tslib, location was changed from /usr/lib/nodejs to /usr/share/nodejs. This broke node-rollup-plugin-typescript as it was trying to load 'tslib/tslib.es6.js'<br><br>While running rollup from node-sourcemap-codec it failed<br><br>praveen@mahishasura:~/forge/node-sourcemap-codec$ rollup -c                                     [!] Error: Cannot find module 'tslib/tslib.es6.js' from '/usr/lib/nodejs/rollup-plugin-typescript/dist'                                         Error: Cannot find module 'tslib/tslib.es6.js' from '/usr/lib/nodejs/rollup-plugin-typescript/dist'                                                 at Function.module.exports [as sync] (/usr/lib/nodejs/resolve/lib/sync.js:40:15)                at typescript (/usr/lib/nodejs/rollup-plugin-typescript/dist/rollup-plugin-typescript.cjs.js:109:29)<br>    at Object.<anonymous> (/home/praveen/forge/node-sourcemap-codec/rollup.config.js:13:3)<br>    at Module._compile (internal/modules/cjs/loader.js:689:30)<br>    at Object.require.extensions..js (/usr/lib/nodejs/rollup/bin/rollup:582:7)<br>    at Module.load (internal/modules/cjs/loader.js:599:32)<br>    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)<br>    at Function.Module._load (internal/modules/cjs/loader.js:530:3)<br>    at Module.require (internal/modules/cjs/loader.js:637:17)<br>    at require (internal/modules/cjs/helpers.js:22:18)<br><br>It worked after adding a symlink to /usr/share/nodejs/tslib from /usr/lib/nodejs/rollup-plugin-typescript/node_modules.<br><br>I'm not sure if that is the right fix. Ideas?<br><br>Shouldn't node-typescript also move tslib to /usr/share/nodejs?<br></blockquote><div><br></div><div>It seems several packages are installing files into "rollup-plugin-typescript".</div><div>In this case, all such packages should agree upon the place where the</div><div>common directory should be (/usr/share/nodejs/rollup-plugin-typescript looks</div><div>fine to me).</div><div><br></div><div>Jérémy</div><div><br></div></div></div>