[Pkg-javascript-devel] nodejs-12 transition
Nilesh Patra
npatra974 at gmail.com
Thu Feb 6 18:19:27 GMT 2020
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20200206/c48585ae/attachment.html>
More information about the Pkg-javascript-devel
mailing list