necccc / npm-migrate

Migrate all versions of a selected package from a registry to another one
MIT License
21 stars 14 forks source link

graceful-fs needs a version update. #12

Open prachikhadke opened 1 year ago

prachikhadke commented 1 year ago

graceful-fs needs to be updated to v4.2.4 or above to get fixes for https://github.com/isaacs/node-graceful-fs/issues/158.

Right now, if I use the current version of npm-migrate, I get the error:

/Users/<USERNAME>/Library/code/projectOne/node_modules/npm/node_modules/graceful-fs/polyfills.js:287
      if (cb) cb.apply(this, arguments)
                 ^

TypeError: cb.apply is not a function
    at /Users/<USERNAME>/Library/code/projectOne/node_modules/npm/node_modules/graceful-fs/polyfills.js:287:18
    at FSReqCallback.oncomplete (node:fs:209:5)

Node.js v18.16.0