isaacs / node-graceful-fs

fs with incremental backoff on EMFILE
ISC License
1.27k stars 148 forks source link

TypeError: Cannot read property 'uid' of undefined #224

Closed washingtong33k closed 2 years ago

washingtong33k commented 2 years ago

It seems like the issue reported in #88 is back with this new version 4.1.9.

Serverless uses graceful-fs as dependency, and since the latest release it's throwing this error.

TypeError: Cannot read property 'uid' of undefined
      at Object.statSync (/usr/lib/node_modules/serverless/node_modules/graceful-fs/polyfills.js:313:17)
RolKau commented 2 years ago

@washingtong33k Maybe you must continue to upgrade to 4.2.9. https://github.com/isaacs/node-graceful-fs/commit/e61a20a052b838f420b98195c232a824a6ac04ee seems to fix the issue.

washingtong33k commented 2 years ago

@RolKau Thanks! This worked.