[Pkg-javascript-devel] nodejs-12 transition

Xavier yadd at debian.org
Thu Feb 6 22:18:06 GMT 2020


Did you update your apt-cacher files ?

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

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20200206/77659269/attachment.html>


More information about the Pkg-javascript-devel mailing list