Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Apr 15, 2022

Conversation

lamweili
Copy link
Contributor

@lamweili lamweili commented Apr 15, 2022

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