Setting Up Your React Dev Environment Easily


#1

I’m getting an error when run this command “./node_modules/.bin/webpack” in Node.js Command Prompt.

error : ‘.’ is not recognized as an internal or external command operable program or batch file .

OS: Windows 10.

Thanks


#2

Try the following:

node_modules\.bin\webpack

Let me know if that works out for you :slight_smile:


#3

Thanks for the quick reply. I tried that too but didn’t work . Then I tried just webpack that works. i’m not sure why?

I’m using Visual Studio 2015 and the JSX inteligence are not working … any idea ?
Thanks And Much appreciated your help …

well explained “React” setup tutorial .


#4

That is interesting that webpack works but the longer command doesn’t. I’ll have to do some more experimenting to see where things are breaking :stuck_out_tongue:

VS2015 may not support JSX intellisense out of the box.The posted solution here may work: http://stackoverflow.com/questions/34097915/visual-studio-2015-jsx-es2015-syntax-highlighting

:slight_smile:


#5

Thanks for your help