isaacs/node-mkdirp

TypeError: mkdirp.sync is not a function (version 3.0.0)

ricklrq opened this issue · 0 comments

Upgrade the package to 3.0.0, got the following error:

TypeError: mkdirp.sync is not a function
      at AutoWriter.write (lib\auto-writer.js:2:1683)
      at SequelizeAuto.write (lib\auto.js:5:433)
      at SequelizeAuto.<anonymous> (lib\auto.js:4:1675)
      at Generator.next (<anonymous>)
      at fulfilled (lib\auto.js:2:808)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      at ChildProcess.exithandler (node:child_process:419:12)
      at ChildProcess.emit (node:events:513:28)
      at maybeClose (node:internal/child_process:1091:16)
      at ChildProcess._handle.onexit (node:internal/child_process:302:5)

Previously when using 1.0.4, there is no problem.