Skip to content

fix: use workaround loading process-shim for browserify #497

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jan 1, 2023

Conversation

bergos
Copy link
Contributor

@bergos bergos commented Nov 17, 2022

replaced require('process') with require('process/') to fix #496

The build step generated quite a big diff. I compared a few samples with the code in the https://github.com/nodejs/node repository, and the generated code looks good to me. I think there was a problem earlier on.

@mcollina Hints on how to solve this are very welcome. Is there a post-process step? Should I create a separate PR just for the diff generated by the build and then fix the process-shim issue?

@vweevers
Copy link
Contributor

The build step generated quite a big diff.

Also happened on #491. Safe to ignore: #491 (comment). Although it might be preferable to open a separate PR that only does a rebuild; then these two PRs will be cleaner.

@bergos
Copy link
Contributor Author

bergos commented Nov 21, 2022

@mcollina I've updated the PR. The diff is now much smaller and more readable.

Copy link
Contributor

@vweevers vweevers left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@ShogunPanda ShogunPanda left a comment

Choose a reason for hiding this comment

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

LGTM!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

process is undefined in lib/internal/streams/pipeline.js
4 participants