Skip to content

fix: include process Node polyfill#613

Merged
ShGKme merged 1 commit into
mainfrom
fix/process-alias
Sep 23, 2024
Merged

fix: include process Node polyfill#613
ShGKme merged 1 commit into
mainfrom
fix/process-alias

Conversation

@ShGKme

@ShGKme ShGKme commented Sep 23, 2024

Copy link
Copy Markdown
Collaborator
  • 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

@Antreesy Antreesy left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Tested with Talk

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