nextjs-vercel 踩坑

slug
nextjs-vercel
date
Aug 17, 2022
tags
技术&产品
summary
type
Post
status
Published
Last edited time
Feb 9, 2023 10:04 AM

vercel 环境变量更新不生效

重新部署之后生效了

NEXTAUTH_SECRET

需要配置

报错 yarn [email protected]

GitHub 登录之后如何获取邮箱

待办

node 版本问题解决

nvm 安装之后报错
npm v node: --openssl-legacy-provider is not allowed in NODE_OPTIONS
编辑 ~/.profile
export NODE_OPTIONS=--openssl-legacy-provider

Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'.

 

© JimYan 2023 - 2024