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: include process Node polyfill #613

Merged
merged 1 commit into from
Sep 23, 2024
Merged

fix: include process Node polyfill #613

merged 1 commit into from
Sep 23, 2024

Conversation

ShGKme
Copy link
Collaborator

@ShGKme ShGKme commented Sep 23, 2024

  • Not included by default since node-polyfill-webpack-plugin@4.0.0
  • Used by path module
  • Which is used by @nextcloud/dialogs

Thanks @Antreesy for catching the issue.

This is probably not the root issue, because path alias doesn't use process... Only the original node module does. The problem for us is that somewhere path is not polyfilled. It may not work with node:path import, but we don't have any.

So, no idea why path is not polyfilled. But polifillying process solves the problem as well...

image

- Not included by default since `node-polyfill-webpack-plugin@4.0.0`
- Used by `path` module
- Which is used by `@nextcloud/dialogs`


Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
@ShGKme ShGKme added the bug Something isn't working label Sep 23, 2024
@ShGKme ShGKme self-assigned this Sep 23, 2024
Copy link

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

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

Tested with Talk

@ShGKme ShGKme merged commit e1be26e into main Sep 23, 2024
9 checks passed
@ShGKme ShGKme deleted the fix/process-alias branch September 23, 2024 14:32
@ShGKme ShGKme mentioned this pull request Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants