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

fix(rosetta,pacmak): TypeError in node 10 with --experimental-worker #2554

Merged
merged 2 commits into from
Feb 9, 2021

Conversation

RomainMuller
Copy link
Contributor

@RomainMuller RomainMuller commented Feb 9, 2021

isaacs/node-graceful-fs#204 prevents graceful-fs (a dependency of
fs-extra) from loading in a worker thread when using node < 12. The
issue affects only version 4.2.5, so pinning both jsii-rosetta and
jsii-pacmak (both of which may use worker threads when available) to
the last known good version: 4.2.4, until a fixed release of
graceful-fs is released.


Note - this replaces the solution introduced in 5822e48 (#2550), which
turned out to not be complete enough (I mistakenly through the issue was
introduced by a recent change in our code, while it was triggered in other
places, actually due to a recent release of graceful-fs).


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

isaacs/node-graceful-fs#204 prevents `graceful-fs` (a dependency of
`fs-extra`) from loading in a worker thread when using node < 12. The
issue affects only version `4.2.5`, so pinning both `jsii-rosetta` and
`jsii-pacmak` (both of which may use worker threads when available) to
the last known good version: `4.2.4`, until a fixed release of
`graceful-fs` is released.
@RomainMuller RomainMuller requested a review from a team February 9, 2021 14:57
@RomainMuller RomainMuller self-assigned this Feb 9, 2021
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Feb 9, 2021
Copy link
Contributor

@eladb eladb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much nicer!

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-6Jw05QLuWWwe
  • Commit ID: 1463c85
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants