Leave a Reply

46 Comments on "React JS / Redux Tutorial – 3 – Project Setup"

Notify of
avatar

NewScientists
Guest
NewScientists
10 days 21 hours ago

This will fix the not recognized: npm install -g webpack

kev gi
Guest
kev gi
1 month 19 days ago

do you know any way to get reduce the bundle size? i'm trying but i can figure it out

kev gi
Guest
kev gi
1 month 19 days ago

awesome tutorial man thanks!!!

Reza Khan
Guest
Reza Khan
1 month 23 days ago

Great tutorial. Big Thank you.

Mack Williams
Guest
Mack Williams
2 months 6 days ago

Getting an exception on webpack cd, "Object Expected on Line 1"

Andrew Fluck
Guest
Andrew Fluck
2 months 6 days ago

Correction at about 8:20, JSX is not compatible with any browser, without transpilation, that is what babel does, it transpiles your code to something React and the browser can understand.

Ratikanta Naik
Guest
Ratikanta Naik
2 months 17 days ago

Is it possible to use React and Redux without Node.js? Can I use Redux as we used React by adding couple of js references?

Romdoni Agung Purbayanto
Guest
Romdoni Agung Purbayanto
3 months 1 day ago

i got error after run $ webpackERROR in ./app/index.jsModule build failed: SyntaxError: Unexpected token (6:1):(

Ardi i
Guest
Ardi i
3 months 2 days ago
hi, i got this error : webpack: command not found . i've tried to do $npm install webpack -g , but i got another error which is this -> npm ERR! Linux 4.4.0-59-genericnpm ERR! argv "/usr/bin/nodejs" "/usr/local/bin/npm" "install" "webpack" "-g"npm ERR! node v4.2.6npm ERR! npm v4.1.1npm ERR! path /usr/local/lib/node_modulesnpm ERR! code EACCESnpm ERR! errno -13npm ERR! syscall accessnpm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules'npm ERR! at Error (native)npm ERR! { [Error: EACCES: permission denied, access '/usr/local/lib/node_modules']npm ERR! errno: -13,npm ERR! code: 'EACCES',npm ERR! syscall: 'access',npm ERR! path: '/usr/local/lib/node_modules' }npm ERR! npm ERR! Please try running this command again as… Read more »
Lucas Haladjian
Guest
Lucas Haladjian
6 months 13 days ago

I keep getting that error when I do webpack in my terminal: ERROR in ./dev/js/index.jsModule build failed: SyntaxError: Unexpected token (6:4) 4 | 5 | ReactDOM.render(> 6 | <Provider store={store}> | ^ 7 | <App /> 8 | </Provider>, 9 | document.getElementById('root')

Cocina Topia
Guest
Cocina Topia
27 days 22 hours ago

It solved my problem. I was missing the .babelrc file. I found the contents of the file in the github repository. github.com/buckyroberts/React-Redux-Boilerplate/blob/master/.babelrc

sparsh turkane
Guest
sparsh turkane
2 months 15 days ago

1. there is .babelrc file in buckys zip which might be hidden in ubuntu and you may miss it while coping 2. I would recommend extract the zip file and then change the name of folder. Do not copy all the files from extracted folder and paste it in other folder P.s I made that mistake

Vishnu Y S
Guest
Vishnu Y S
2 months 16 days ago

@aayush Thank you, that worked.

aayush bhardwaj
Guest
aayush bhardwaj
3 months 16 days ago

Had the same error initially , your .babelrc file must be missing in the folder.

Ricky Merrefield
Guest
Ricky Merrefield
6 months 11 days ago

I'm getting the same error. Can't figure out why.

1 2 3
wpDiscuz