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
Next.js build cannot resolve 'react-use-auth/auth0' #129
Comments
Facing Same Problem. |
Same module resolution issue from a |
I haven't done this yet, but it would probably be pretty easy to bisect the problem with a local copy of react-use-auth and |
Okay lesson learned, don't test things in the This line in import("react-use-auth/auth0").then(({ Auth0 }) => { If I change it to Seems like the only way to fix it is breaking backwards compatibility. Which is better than the library not working, bye bye |
As it was introduced in a new major release, breaking backward compatibility makes sense for me. Unfortunately, that's just my user point of view, I don't know how to help technically on this. |
Just released v2.0.2 that fixes this. Thanks for reporting @jasonLaster |
@all-contributors add @jasonLaster for bugs |
I've put up a pull request to add @jasonLaster! |
I went through these steps this morning and ran into a build issue.
npx create-next-app
yarn add react-use-auth auth0-js
pages/_app.js
fromhttps://useauth.dev/docs/auth0/
yarn build
yarn dev
Build Error
here's what i see when i run
yarn dev
node_modules files
Here are the files I see in
react-use-auth
The text was updated successfully, but these errors were encountered: