[Pkg-javascript-devel] Bug#963628: Bug#963628: Bug#963628: Node-jest fails with: Error: Cannot find module 'import-local'

Xavier yadd at debian.org
Tue Jul 14 21:06:55 BST 2020


Le 28/06/2020 à 09:32, Xavier a écrit :
> Control: severity -1 grave
> 
> Le 27/06/2020 à 23:31, Nilesh Patra a écrit :
>>
>>
>> On Sun, 28 Jun 2020, 02:45 Xavier, <yadd at debian.org
>> <mailto:yadd at debian.org>> wrote:
>>
>>     Control: severity -i grave
>>
>>
>> Thanks.
>>
>>
>>     Le 24/06/2020 à 21:18, Nilesh Patra a écrit :
>>     > Package: node-jest
>>     > Severity: serious
>>     >
>>     > Dear Maintainer,
>>     >
>>     > Node-jest fails with the following on all the node-modules I've
>>     tried yet.
>>     > Sample examples on
>>
>>     Work needed for node-jest:
>>      * add babel-plugin-istanbul; proposition: add it in node-babel7
>>
>>
>> It's good.
>> Would you mind discussing this bit on the list?
> 
> pkg-js list receives messages related to this bug
> 
>>      * update and fix node-jsdom
>>      * add missing components
>>
>>
>> Noted.
>>
>>
>>     Here is the list of missing modules (mix of node-jest and node-jsdom):
> 
> jsdom:
>  * data-urls
>  * domexception
>  * html-encoding-sniffer
>  * w3c-hr-time
>  * whatwg-encoding
>  * whatwg-mimetype
>  * whatwg-url
>  * xml-name-validator

Hi all,

after fixing node-jsdom, these modules are required for jest:
 * astral-regex
 * babel-plugin-istanbul
 * babel-preset-current-node-syntax
 * fast-json-stable-stringify
 * is-generator-fn
 * makeerror
 * natural-compare
 * p-each-series
 * p-reduce
 * sane
 * string-length
 * supports-hyperlinks
 * terminal-link
 * throat
 * tmpl
 * walker

I suggests to embed babel* in node-babel7 and others in node-jest. What
are your advises ?



More information about the Pkg-javascript-devel mailing list