Le 27/01/2021 à 00:14, Paolo Greppi a écrit :
> I fixed the error:
> 
>     Cannot find module 'babel-preset-env'
> 
> but I am not sure if the fix is 100% right.
> 
> Now I get:
> 
>     TypeError: Cannot read property 'mkdir' of undefined
>            5 | export default function(filename?: string):
> Promise<string> {
>            6 |   return new Promise((resolve, reject) => {
>         >  7 |     temp.mkdir(filename, function(err, path) {
> 
> I added node-temp in debian/tests/control Depends afetr jest, but that
> did not help (it would have errored on require('temp') anyway).
> 
> I have then turned my attention at brushing up node-temp, see this
> message to the js-team list:
> https://alioth-lists.debian.net/pipermail/pkg-javascript-devel/2021-January/052152.html

Hi,

fixed (patch for node-mkdirp ≥ 1), take a look at my changes

Reply via email to