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: override string-width to earlier version to avoid CJS error #1441

Merged
merged 1 commit into from
Jul 13, 2024

Conversation

ghiscoding
Copy link
Owner

@ghiscoding ghiscoding commented Jul 13, 2024

  • latest Angular 18.1.x throws a CJS error caused by string-width being ESM only

Unknown error: Error [ERR_REQUIRE_ESM]: require() of ES Module

  • that might be a Yarn legacy issue only, as pointed out by this Yarn issue

- latest Angular 18.1.x throws a CJS error caused by `string-width` being ESM only
 > Unknown error: Error [ERR_REQUIRE_ESM]: require() of ES Module
Copy link

stackblitz bot commented Jul 13, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

codecov bot commented Jul 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (bd6b44f) to head (43cf080).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #1441   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines          905       905           
  Branches       299       295    -4     
=========================================
  Hits           905       905           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ghiscoding ghiscoding merged commit 699b8ae into master Jul 13, 2024
4 checks passed
@ghiscoding ghiscoding deleted the chore/override-string-width branch July 13, 2024 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant