[Pkg-javascript-devel] nodejs-12 transition
Nilesh Patra
npatra974 at gmail.com
Sun Feb 2 13:59:01 GMT 2020
On Sun, 2 Feb 2020 at 19:15, Nilesh Patra <npatra974 at gmail.com> wrote:
> Hi,
> I was trying to fix node-jsonld. There were a lot of 'Module not found'
> errors, and resolving paths in webpack.config.js helped.
> However, there are a few core-js related errors which are still there. I
> am not sure why that is the case. I suspect that this is likely due to
> incompatible version of core-js.
> Could someone help me here, to understand the issue, and a probable fix?
> That would be great!
> Pasting the logs:
>
> ERROR in multi core-js/fn/array/from core-js/fn/array/includes
> core-js/fn/map core-js/fn/object/assign core-js/fn/promise core-js/fn/set
> core-js/fn/string/starts-with core-js/fn/symbol ./lib/index.js
> Module not found: Error: Can't resolve 'core-js/fn/array/from' in
> '/<<PKGBUILDDIR>>'
> @ multi core-js/fn/array/from core-js/fn/array/includes
> core-js/fn/map core-js/fn/object/assign core-js/fn/promise core-js/fn/set
> core-js/fn/string/starts-with core-js/fn/symbol ./lib/index.js
>
> [There are a few more of similar kind, related to core-js ^]
>
> Thanks & Regards
> Nilesh
>
I observed that I needed to change core-js paths individually as well in
webpack.config.js. That worked.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20200202/2b3c504c/attachment.html>
More information about the Pkg-javascript-devel
mailing list