Ошибка 404. Deploy стартового приложения

Пыталась задеплоить информационный сайт react-app, но выдало ошибку 404. Решила проверить и задеплоить первоначальный create-react-app без изменений. Та же ошибка 404. Вот мой репозиторий GitHub - Lokteeva/Mumbai2024 и сайт с ошибкой https://master--whimsical-faloodeh-81e5c3.netlify.app/

What are the build settings you used for the project?

1 Like

npm run build. Да и без него обычно все разворачивалось нормально

Have you set the base directory to client? What is the publish directory?

1 Like

cd client
npm start

publish - значит все могут его увидеть

npm start won’t work on Netlify. See [Support Guide] Can I run a web server, HTTP listener, and/or database at Netlify? for why not.

You need to set the base directory to client.
Set the build command to npm run build
Set the publish directory to build (it will show client/build when the base directory is set to client)

See the React framework integration documentation and the Build from a subdirectory documentation for why you need to do this.

1 Like

можете конкретно написать, что я должна сделать? А то я не поняла. Знаю только npm run build, но этого не достаточно для решения проблемы

I have provided (above) the exact instructions you need. Below, I am providing a screenshot of these settings in the Netlify UI. You can set them in https://app.netlify.com/sites/whimsical-faloodeh-81e5c3/settings/deploys

However I see you’ve deleted everything from the repository now.

1 Like

Все получилось. Спасибо!

Thanks for coming back and sharing you found your solution!

I also create a website but I can’t edit this : https://techinsights00.netlify.app/msbi

@mishrachitra150 can you clarify the issue you’re facing?