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
Can't resolve '../utils/logger' in 4.6.0 #4758
Comments
Maybe ../utils needs to be added to the outputs here: https://github.com/nextauthjs/next-auth/blob/main/turbo.json ? like the before-used ../lib is. First guess is PR https://github.com/nextauthjs/next-auth/pull/4704/files introduced this bug. |
getting the same error 🙃 |
Me too :(
Can confirm it doesn't happen anymore after downgrading to 4.5.0 |
Yes...same here...downgraded to 4.5.0...That worked for now. Switching to ~ for all packages now |
I'm already on it, one of the issues were indeed a missing The other issue is that somehow simple type re-exports are being bundled as part of the module and imported on line 14 here: https://unpkg.com/browse/next-auth@0.0.0-pr.4760.fa6189ff/index.js |
Should be fixed in |
Environment
System:
OS: macOS 12.4
CPU: (4) x64 Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz
Memory: 1003.14 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.0.0 - /usr/local/bin/node
npm: 8.10.0 - /usr/local/bin/npm
Browsers:
Chrome: 102.0.5005.115
Firefox: 101.0.1
Safari: 15.5
npmPackages:
next: 12.1.6 => 12.1.6
next-auth: 4.6.0 => 4.6.0
react: 18.2.0 => 18.2.0
Reproduction URL
none
Describe the issue
The next compile failes with
after updating to 4.6.0, reverting to 4.5.0 fixes the issue
How to reproduce
Expected behavior
The text was updated successfully, but these errors were encountered: