You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

新建NextJS React项目无法启动localhost,/not-found编译报错求助

NextJS全新安装后无法启动localhost,提示“Compiled /not-found in 1080ms (387 modules)”

我刚完成NextJS的全新安装,未对项目做任何修改,但localhost无法正常启动。每次重新加载项目时,都会收到如下提示:

Compiled /not-found in 1080ms (387 modules)

我是Angular开发者,正在学习React,卡在这一步无法推进。已尝试的解决方法:

  • 重新安装npm
  • 删除.next文件夹
  • 重新创建并安装全新的NextJS项目
  • 将项目迁移至不同的文件路径

(错误截图显示编译日志指向/not-found页面,项目结构截图为标准的NextJS初始项目目录结构)

内容的提问来源于stack exchange,提问作者Jacob Bennett

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.09 05:49:51