sergiodxa / remix-auth

Simple Authentication for Remix
https://sergiodxa.github.io/remix-auth/
MIT License
2k stars 110 forks source link

bug: not usable with remix latest upgrade (v2.0) #242

Closed theosenoussaoui closed 1 year ago

theosenoussaoui commented 1 year ago

Describe the bug

Remix was updating on the 15th of September, and we haven't been able to upgrade because of the peerDependencies remix-auth has. More precisely, remix-auth needs a version bump for the @remix-run/react package.

Your Example Website or App

https://github.com/theosenoussaoui/remix-auth-bug-report

Steps to Reproduce the Bug or Issue

Expected behavior

Should work with the latest @remix-run packages.

Screenshots or Videos

No response

Platform

Additional context

No response

zwily commented 1 year ago

I added the following to my package.json to get around this for now:

  "overrides": {
    "remix-auth": {
      "@remix-run/react": "^2.0.0",
      "@remix-run/server-runtime": "^2.0.0"
    }
  },

That lets it install, but I haven't had a chance to test functionality yet.

caprica commented 1 year ago

That lets it install, but I haven't had a chance to test functionality yet.

Did you encounter any problems yet with this? I'd also like to upgrade my project to 2.0.

Scott-Fischer commented 1 year ago

I don't see why there would be any problems. I've been using this package with all the remix v2 flags for a few months now. Seems like the peer dependency just needs to be loosened to account for the new version.

jackbravo commented 1 year ago

I think this was solved with the release of 3.6.0 a few hours ago :-)