Closed angel-tnc closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated |
---|---|---|---|---|
staging-tiny-news-sites | ✅ Ready (Inspect) | Visit Preview | 💬 Add your feedback | Feb 11, 2023 at 1:31AM (UTC) |
Why
Login broke on production because of a redeployment. This seems to happen because Vercel runs npm install on deployment, it will automatically update package versions, which can the app to upgrade versions automatically and unpredictably.
What
Pin the next-auth version to the one present in the package.json file.
Notes
We can test on staging whether this version works well and eventually update the pinned version if needed.
Reference: https://vercel.com/docs/concepts/functions/serverless-functions/runtimes/node-js#node.js-dependencies