Open Meenalsolanki220397 opened 10 months ago
Hi @Meenalsolanki220397! :wave: Thanks a lot for the report! :pray:
I have tried to reproduce this issue by using the React starter, convert it to a repository, clear the cache and install dependencies but everything works here.
In particular, in your case I noticed that some of the files and folders are not in the correct location:
Document
, index.tsx
, App.tsx
and style.css
aren't in the src
folder.index.html
is not inside a public
folderThose folders are expected by react-scripts
, as you can see by the error you have in your screenshot.
I suspected that this was a bug with our code that creates the repository but I couldn't reproduce it here with a fresh starter.
If you keep running into this issue, do you think you could share a screencast or a https://jam.dev/ ?
Describe the bug
React server script is not working.
Link to the blitz that caused the error
https://stackblitz.com/~/github.com/Meenalsolanki220397/React-Insert-Text-in-document
Steps to reproduce
Expected behavior
The project should serve and react scripts should work as expected.
Parity with Local
Screenshots
No response
Platform
Additional context
No response