[Pkg-javascript-devel] Bug#940704: next error

Paolo Greppi paolo.greppi at libpf.com
Tue Jan 26 23:14:04 GMT 2021


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

Paolo



More information about the Pkg-javascript-devel mailing list