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 MacOS dev #198

Merged
merged 3 commits into from
May 14, 2024
Merged

Fix MacOS dev #198

merged 3 commits into from
May 14, 2024

Conversation

rap1ds
Copy link
Member

@rap1ds rap1ds commented May 14, 2024

yarn run build failed to run, due to following error:

ERROR in sharetribe-flex-sdk-web.js from Terser
Error: error:0308010C:digital envelope routines::unsupported

Read more here: webpack/webpack#14532

To fix the issue:

fsevents added support for Apple Silicon in v2.3

yarn run build failed to run, due to following error:

    ERROR in sharetribe-flex-sdk-web.js from Terser
    Error: error:0308010C:digital envelope routines::unsupported

Read more here: webpack/webpack#14532

To fix the issue:

- Upgrade webpack to 4.47.0 (see: webpack/webpack#17628)
- Add `resolutions` block for terser-webpack-plugin until this PR is
  merged (webpack/webpack#17659)
fsevents added support for Apple Silicon in v2.3
Instead of upgrading fsevents directly, upgrade chokidar which is the
lib that is using fsevents as an optional dependency.
@rap1ds rap1ds marked this pull request as ready for review May 14, 2024 09:16
@rap1ds rap1ds merged commit 1b491de into master May 14, 2024
1 check passed
@rap1ds rap1ds deleted the fix-macos-dev branch May 14, 2024 09:16
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.

None yet

1 participant