-
Notifications
You must be signed in to change notification settings - Fork 24
nitro project create, nitro craft setup - Hostname Throws 404 Page Error #367
Comments
I think I figured out what the issue is. During the process of |
@jayhlee it should generate the directory for you but it might take a while to sync the files if you have a lot of assets in the site. Can you run |
The issue seems to be that when you create a new project using Not sure if others may have gotten stuck on this. But it'd be nice if the name of the web root that's specified during the |
@jayhlee what is the web root defined in your |
The web root defined in As I mentioned, the fix is simple. Namely, to just rename the generated |
Just adding to this that I've hit the same issue. During setup I defined the web root as "public" and it created a folder called "web" instead, but the nitro.yaml file correctly had referenced it as "public". Yes it's an easy fix to just rename the folder, but evidently the nitro create script is asking the question and not using that answer when creating the folder. |
Hi, we are closing this issue as we have decided to retire Nitro, so no additional work will occur on this project. You can read the official blog post here https://craftcms.com/blog/retiring-craft-nitro. We appreciate everyones feedback and involvement and we look forward to refocusing our efforts on Cloud! If you're looking for a new local development environment, we recommend DDEV and have a knowledge base article to help you with the transition: https://craftcms.com/knowledge-base/migrating-from-craft-nitro-to-ddev. |
Description
I can successfully create a new project and set up Craft. However, when I go to my newly created site (mysite.nitro), I get a 404 error.
Steps to reproduce
nitro create myproject
nitro craft setup
Additional info
The text was updated successfully, but these errors were encountered: