#react+redux doubt

18 messages · Page 1 of 1 (latest)

ripe hedge
#

i wanted to make a project combined with redux and react, can anyone tell me the code for that, rn i used (npm init react-app reactjs --template redux) but nothing related to redux is here, only a basic react app

wide glade
#

You only showed the CSS file. That does not involve Redux in any way. Check the package.json file to see if Redux is listed as a dependency. If not, you can still do npm install react-redux. That can also be done on a regular React project without using a template. It just won't give you any starter code that uses Redux.

carmine trout
#

Happy new year!
I am Web developer !
I have six years of great experience of React.
I can help you. If you are interested me, Send me DM!

ripe hedge
#

yes, i got the redux thanks to you but one more question, how do i get the starter code that uses redux

wide glade
ripe hedge
#

i get this error

#

and it isnt the 1st time
whenever i use create-react-app this error pops up
when creating a react proj, i had to use npm init react-app reactjs

#

why is it that my system doesnt support create-react-app instead i have to use npm init for everything

wide glade
ripe hedge
#

but how do i start the next app i created using redux, when using npm start, it gives an error

wide glade
ripe hedge
#

yaa yss, i am in the correct directory

#

yea man, its working now but why did it use npm run dev to start instead of just npm start

#

thanks for all the help btw, it means alot to me

#

i subbed ur twitch, if you need help with editing any content for your channel or socials if u decide to upload in future, do ping me, i will do it for free for you

#

chooking

wide glade