<html><head></head><body>Did you update your apt-cacher files ?<br><br><div class="gmail_quote">Le 6 février 2020 22:20:38 GMT+01:00, Nilesh Patra <npatra974@gmail.com> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 7 Feb 2020 at 01:23, Xavier <<a href="mailto:yadd@debian.org">yadd@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le 06/02/2020 à 19:19, Nilesh Patra a écrit :<br>
> Hi,<br>
> I am finding these errors in a few packages:<br>
> <br>
> ERROR in<br>
> /usr/share/nodejs/babel-runtime/core-js/object/get-own-property-descriptor.js<br>
> Module not found: Error: Can't resolve<br>
> 'core-js/library/fn/object/get-own-property-descriptor' in<br>
> '/usr/share/nodejs/babel-runtime/core-js/object'<br>
>  @<br>
> /usr/share/nodejs/babel-runtime/core-js/object/get-own-property-descriptor.js<br>
> 1:30-94<br>
>  @ ./dev/View/Popup/Compose.js<br>
>  @ ./dev/App/User.js<br>
>  @ ./dev/app.js<br>
> <br>
> When I looked at the file, it looks like:<br>
> <br>
> [~]$ cat<br>
> /usr/share/nodejs/babel-runtime/core-js/object/get-own-property-descriptor.js<br>
> module.exports = { "default":<br>
> require("core-js/library/fn/object/get-own-property-descriptor"),<br>
> __esModule: true };<br>
> <br>
> To me, it looks like using core-js@2, instead of 3(latest in debian). It<br>
> looks like an issue with babel-runtime (one of the provides of<br>
> node-babel). Should node-babel be fixed accordingly,<br>
> or is there a workaround here, instead?<br>
> I am not very sure of that, and need help to fix this issue.<br>
> Could anyone please help me out?<br>
> That would be great.<br>
> <br>
> Thanks and regards<br>
> Nilesh<br>
<br>
Hi,<br>
<br>
The file is here (core-js 2 is embedded):<br>
/usr/share/nodejs/babel-runtime/node_modules/core-js/library/fn/object/get-own-property-descriptor.js<br>
<br>
Which version of node-babel do you use ?<br></blockquote><div><br></div><div>I was using sbuild, so it should pick-up the latest one in unstable.</div><div>The version installed on my system in 6.26.0.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Current testing version:<br>
$ cat<br>
 /usr/share/nodejs/babel-runtime/core-js/object/get-own-property-descriptor.js<br>
require('../../modules/es6.object.get-own-property-descriptor');<br>
var $Object = require('../../modules/_core').Object;<br>
module.exports = function getOwnPropertyDescriptor(it, key) {<br>
  return $Object.getOwnPropertyDescriptor(it, key);<br>
};<br></blockquote><div><br></div><div>Strange, :/ I even installed it in a clean chroot, and seem to get the same log which I sent earlier.</div><div>To ensure: apt install node-babel-cli is what you used to get node-babel-runtime, right?</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Which seems to work fine<br>
<br>
-- <br>
Pkg-javascript-devel mailing list<br>
<a href="mailto:Pkg-javascript-devel@alioth-lists.debian.net" target="_blank">Pkg-javascript-devel@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel</a></blockquote></div></div>
</blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>