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

Update readable-stream dependency to 3.x #43

Open
pravi opened this issue May 3, 2022 · 2 comments
Open

Update readable-stream dependency to 3.x #43

pravi opened this issue May 3, 2022 · 2 comments

Comments

@pravi
Copy link

pravi commented May 3, 2022

Currently this module uses readable-stream 2.x and it'd be good to update the dependency to readable-stream 3.x

@pravi
Copy link
Author

pravi commented May 3, 2022

When trying to use readable-stream 3.x it gives this error,

Error: Cannot find module 'readable-stream/transform'
Require stack:
- /usr/share/nodejs/replacestream/index.js
- /usr/share/nodejs/gulp-replace/index.js

@pravi
Copy link
Author

pravi commented May 3, 2022

Changing 'readable-stream/transform' to "readable-stream").Transform should fix this.

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

No branches or pull requests

1 participant