[Pkg-javascript-devel] nodejs-12 transition

Xavier yadd at debian.org
Sun Feb 2 14:46:09 GMT 2020


Le 02/02/2020 à 14:45, Nilesh Patra a écrit :
> 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

Hi,

try to replace code-js/fn by core-js/features

> [There are a few more of similar kind, related to core-js ^]
> 
> Thanks & Regards
> Nilesh



More information about the Pkg-javascript-devel mailing list