English 中文(简体)
下游乐团:3001 突然开端显示,在所有道路上,404条没有找到可能出现问题的页面。
原标题:Next js localhost:3001 suddenly starts shows 404 not found page in all routes what could be the problem

I am building a dashboard app on Next.js and suddenly my localhost refuses to work it keeps redirecting me to the 404 page. it happened before but I cant remember how I fixed it. Here is what I keep getting

“image”/

我已尝试删除该盒子,也删除了单元。 它依然没有固定。 请大家了解如何确定这一点。

问题回答

确保你在根基目录上没有名字。

By any chance are you using shardcn or something which asks for global.css file. Check if it has created a new app/golabl.css file or any other directory which starts with name "app"

仅删除此段,并将工作

我所看到的最常见错误是把档案页数而不是页数。 另一个错误可能是档案结构。 确保你的根fold有双倍的“应用”,而其他所有路线都应在座标上。





相关问题
Rails: Proxy Pass?

I ve got a web-app that I want to migrate to Rails, which is currently just plain HTML with an Apache proxy to another server, running a custom database/webserver that serves the site s dynamic ...

MVC routing is not handling one of my directories

I m using ASP.NET MVC with IIS 7.0. I ve got 404 errors hooked up fine through my Application_Error override. In addition to "Controllers", "Models", "Helpers" etc. I have a directory called Files ...

Ruby on Rails conditional routing

I have a site listing many jobs, but I also want each account to be able to access its jobs in one place. Thus, I am using these routes: map.resources :jobs map.resource :account, :has_many => :...

Clean URL s using OpenCart s router class

How do you write clean URL s in OpenCart using their built in Router class? Here is my .htaccess file: RewriteEngine On RewriteRule ^(system) - [F,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{...

subdomain routing to multiple controller issue

I have a site: www.mydomain.com where we have administrative controls hidden away from normal customer view. I would like to only access the administrative features under a subdomain such as admin....

Can controller names in RESTful routes be optional?

With a standard map.resource routing mechanics and several nested resources the resultant routes are unnecessarily long. Consider the following route: site.org/users/pavelshved/blogs/blogging-horror/...

Help with rails routes

Im having a little trouble setting up routes. I have a users controller/model/views set up restfully so users is set up to be a resource in my routes. I want to change that to be usuarios ...

热门标签