atherosai / ui

Simple UI examples from my social media
https://learning.atheros.ai
9.39k stars 1.63k forks source link

npm run dev is not working as intended #55

Closed Ciezo closed 2 days ago

Ciezo commented 1 week ago

image

Ciezo commented 1 week ago

After runing npm run deploy I got this error. May I kindly ask for assistance? I want to build this project into React.js components.

image

Skelptin commented 1 week ago

@Ciezo Hey you need to go into react-examples directory and then run those command

Faisalansari203 commented 1 week ago

specify the dev command in scripts present in package.json folder

Screenshot 2024-04-20 043323

Ciezo commented 1 week ago

Ohhh...😅 Thank youuuu so much!

Armanxrza commented 1 week ago

specify the dev command in scripts present in package.json folder

How to specify it! Please help me to run this, I am stucked

Ciezo commented 1 week ago

I still have some occurring problems.

image

As the attached image illustrates, after navigating to the react-examples directory I run the command npm run dev. However, there is an error...

Ciezo commented 1 week ago

I think the problem here is that for some reason I don't have the index.js ?

image

Ciezo commented 1 week ago

Please, keep in mind that I installed the npm packages from the root directory, and then proceeded to navigate to react-examples folder where I then ran the npm run dev command.

Can I ask for further help?

Ciezo commented 2 days ago

This issue has been solved with the help of @Armanxrza. We need to just navigate to the react-examples folder and run the scripts associated with the package.json. Or, we can simply open up the index.html with a live server.