安装
npx create-next-app@latest
运行
npm run dev
使用node版本v16.20.1,报错:ReferenceError: Request is not defined
解决方案:
切换node: v18.16.1(npm: v9.5.1)
重新安装项目并运行,成功!
标签:node,defined,Request,报错,nextjs,ReferenceError From: https://www.cnblogs.com/mihoutaoguniang/p/17807570.html