create-react-app icon indicating copy to clipboard operation
create-react-app copied to clipboard

React Project Build doesn't work

Open ghost opened this issue 10 years ago • 3 comments

Hi I am new to React and was following through with instructions on create a react project as per below instructions:

create-react-app my-app cd my-app

I managed to create a React project and managed to run it successfully with no errors using npm start

My problem is that I cannot managed to create a build using npm run build. As in the build is successful but when I copy the content of the folder to my local apache htdocs and try to run it I get the below errors.

screen shot 2016-11-28 at 09 37 27

Is there something I should be doing? Please help!

ghost avatar Nov 28 '16 08:11 ghost

If those files exist on the disk, I think you might want to ask for help on Apache-related Q&A forums since it’s not really something we have expertise in.

gaearon avatar Nov 28 '16 15:11 gaearon

Closing as there is nothing actionable here. I hope this helped!

gaearon avatar Dec 05 '16 12:12 gaearon

@stephenmangion please , how have you fixed this issue because i've the same

DANIELADIKO avatar Dec 31 '18 20:12 DANIELADIKO