Skip to content

chore(dep): temporary fix for fs-extra issue (to be reverted when fs-extra patches it) - #116

Merged
lamweili merged 1 commit into
masterfrom
fix-fs-extra-error-on-init
Apr 15, 2022
Merged

lamweili merged 1 commit into
masterfrom
fix-fs-extra-error-on-init

Conversation

@lamweili

@lamweili lamweili commented Apr 15, 2022 •

Copy link
Copy Markdown
Contributor

Fixes log4js-node/log4js-node#1225


Instead of waiting for the next release fs-extra, I took the liberty to defensively patch it in streamroller.
This is an interim measure so that streamroller can be imported without errors from its nested dependencies.

Currently, if fs.realpath.native is undefined, the import of streamroller will fail because:

  • caused by import of streamroller throwing error (from fs-extra)
  • caused by import of fs-extra throwing error
  • caused by fs.realpath.native being undefined

Once fs-extra has released the fixes, I will upgrade it and revert this defensive patch.

@lamweili lamweili added the dependencies Pull requests that update a dependency file label Apr 15, 2022
@lamweili lamweili added this to the 3.0.7 milestone Apr 15, 2022
@lamweili
lamweili merged commit 747532e into master Apr 15, 2022
@lamweili
lamweili deleted the fix-fs-extra-error-on-init branch April 15, 2022 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeError: Cannot read property 'name' of undefined using log4js (^6.4.0) with angular in ssr mode

1 participant