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

@remix-run/web-fetch tries to access @remix-run/web-blob, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound. #7434

Closed
1 task done
lensbart opened this issue Sep 15, 2023 · 5 comments · Fixed by remix-run/web-std-io#52 or #7477
Labels
bug Something isn't working feat:fetch Issues related to @remix-run/web-fetch

Comments

@lensbart
Copy link
Contributor

lensbart commented Sep 15, 2023

What version of Remix are you using?

2.0.0

Are all your remix dependencies & dev-dependencies using the same version?

  • Yes

Steps to Reproduce

  • Use Yarn PnP (zero-installs)
  • Use Remix

Workaround

Add the following to your yarnrc.yml:

# yarnrc.yml

packageExtensions:
  # awaiting fix: https://github.com/remix-run/remix/issues/7434
  '@remix-run/web-fetch@*':
    dependencies:
      '@remix-run/web-blob': '*'

and run yarn again

See also this request which would help avoiding these issues in the future

Expected Behavior

No error

Actual Behavior

Error: @remix-run/web-fetch tried to access @remix-run/web-blob, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

How to fix

Update the dependencies in the package.json of @remix-run/web-fetch to include @remix-run/web-blob

@lensbart lensbart changed the title Error: @remix-run/web-fetch tried to access @remix-run/web-blob, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound. @remix-run/web-fetch tries to access @remix-run/web-blob, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound. Sep 15, 2023
@brophdawg11 brophdawg11 added bug Something isn't working feat:fetch Issues related to @remix-run/web-fetch and removed bug:unverified labels Sep 18, 2023
@brophdawg11 brophdawg11 self-assigned this Sep 18, 2023
@brophdawg11 brophdawg11 reopened this Sep 18, 2023
@brophdawg11
Copy link
Contributor

This should be resolved with @remix-run/web-fetch@4.4.1 - we'll get the internal Remix dep updated as well

@brophdawg11
Copy link
Contributor

Will be available in the next remix release 👍

@brophdawg11 brophdawg11 added the awaiting release This issue has been fixed and will be released soon label Sep 18, 2023
@brophdawg11 brophdawg11 removed their assignment Sep 18, 2023
@github-actions
Copy link
Contributor

🤖 Hello there,

We just published version v0.0.0-nightly-fccadba-20230919 which involves this issue. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

@github-actions
Copy link
Contributor

🤖 Hello there,

We just published version 2.0.1-pre.0 which involves this issue. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

@github-actions
Copy link
Contributor

🤖 Hello there,

We just published version 2.0.1 which involves this issue. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

@brophdawg11 brophdawg11 removed the awaiting release This issue has been fixed and will be released soon label Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feat:fetch Issues related to @remix-run/web-fetch
Projects
None yet
2 participants