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

TypeError: webBlob.ReadableStream is not a constructor #3439

Open
spencersmb opened this issue Jun 10, 2022 · 0 comments
Open

TypeError: webBlob.ReadableStream is not a constructor #3439

spencersmb opened this issue Jun 10, 2022 · 0 comments
Labels
bug:unverified feat:fetch Issues related to @remix-run/web-fetch

Comments

@spencersmb
Copy link

What version of Remix are you using?

1.5.1

Steps to Reproduce

Step 1: NPM Install after downloading repo: https://github.com/spencersmb/remix-msw

Step 2: Open package.json from /node_modules/@remix-run/web-fetch ( reading thread #3402 )

change this:

      "types": "./dist/src/lib.node.d.ts",
      "browser": "./src/lib.js",
      "require": "./dist/lib.node.cjs",
      "import": "./src/lib.node.js"

to this:

      "types": "./dist/src/lib.node.d.ts",
      "require": "./dist/lib.node.cjs",
      "import": "./src/lib.node.js",
      "browser": "./src/lib.js"

Step 3:
run test command: npm run test or npm run test:watch

Expected Behavior

Expected test to pass/fail without error from Fetch

Actual Behavior

Test fails due to TypeError: webBlob.ReadableStream is not a constructor

@brophdawg11 brophdawg11 added the feat:fetch Issues related to @remix-run/web-fetch label May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:unverified feat:fetch Issues related to @remix-run/web-fetch
Projects
None yet
Development

No branches or pull requests

3 participants