Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
309 views
in Technique[技术] by (71.8m points)

node.js - How can I get my react app to compile in localhost:3000

I purchased a template online. I tried to customize it, when I use the command yarn start on my terminal I got a message said " failed to compile". The project is a React app. Can anyone help me plz...

Here's my github link below. https://github.com/josmorea/my-clairr-app.git enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

try to run "yarn" or "npm install" before run "yarn start". If this does't solve try "yarn add bootstrap".

I think you are not downloading 'node_module' before starting the project. The folder contains all the necessary dependencies for your project to run. Using the command "yarn" or "npm install" you would be downloading this folder in the project.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...