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

DEP Rebuild yarn.lock #231

Merged

Conversation

GuySartorelli
Copy link
Collaborator

@GuySartorelli GuySartorelli commented Jun 20, 2024

Fixed https://github.com/bringyourownideas/silverstripe-maintenance/actions/runs/9588491910/job/26449655673

There was a problem loading formatter: /home/runner/work/silverstripe-maintenance/silverstripe-maintenance/node_modules/eslint/lib/cli-engine/formatters/stylish
Error: require() of ES Module /home/runner/work/silverstripe-maintenance/silverstripe-maintenance/node_modules/strip-ansi/index.js from /home/runner/work/silverstripe-maintenance/silverstripe-maintenance/node_modules/eslint/lib/cli-engine/formatters/stylish.js not supported.
Instead change the require of index.js in /home/runner/work/silverstripe-maintenance/silverstripe-maintenance/node_modules/eslint/lib/cli-engine/formatters/stylish.js to a dynamic import() which is available in all CommonJS modules.

Reproducible locally by running yarn lint. Had to completely remove yarn.lock and run yarn install to fix it.
Doesn't affect dist files as the JS CI run will attest.

Issue

@emteknetnz emteknetnz merged commit eab0c25 into bringyourownideas:3 Jun 21, 2024
10 checks passed
@emteknetnz emteknetnz deleted the pulls/3/fix-js-ci-error branch June 21, 2024 04:49
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.

2 participants