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

I met ReferenceError: ReadableStream is not defined when I use nrwl/[email protected] on workflow #173

Open
exilee20c opened this issue Nov 8, 2024 · 3 comments

Comments

@exilee20c
Copy link

Image

@korniychuk
Copy link
Contributor

It looks like an innocent (seemingly) dependency update broke everything 😀

@v-giorgetti
Copy link

v-giorgetti commented Nov 8, 2024

any update on this? should we temporarily switch to an older version?

EDIT: I switched back to v4.0.0 and seems that this version is stable

@mac2000
Copy link

mac2000 commented Feb 11, 2025

there is a chance that issue is caused by nodejs versions, probably in your actions you are doing something like:

- uses: actions/setup-node@v3
  with:
    node-version-file: package.json
- uses: nrwl/nx-set-shas@v4

put before, and after something like this:

- run: node -version
- uses: actions/setup-node@v3
  with:
    node-version-file: package.json
- run: node -version
- uses: nrwl/nx-set-shas@v4

just to see what it was before, what you have installed and if that's compatible

technically under the hood, in github actions, pretty fresh version is preinstalled, BUT, if you are using self hosted agents - you are on your own

at the very bad scneartion - there is a chance you gonna need to install it twice - aka one time for this action and second time for app itself

in our case, we are stuck on node v16, which indeed does not know anything about streams 🤷‍♂️

theoretically this action itself may install wanted nodejs version without adding it to the path, which should be quite an easy fix, but is questionable if that worse it

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

4 participants