ryanflorence / react-router-mega-demo

WIP Move Along
470 stars 74 forks source link

Not an issue, but is the "./script/dev" runnable on Windows? #8

Open jannavarro opened 9 years ago

jannavarro commented 9 years ago

In the readme.md I did npm install then the next step is "./script/dev" I opened that file, copied "./node_modules/.bin/webpack --watch --devtool inline-source-map & supervisor app.js" to an Administrator command line but it did not work.

The other approach I tried is to go to the node_modules/.bin folder and just run webpack --watch but it did not work as well.

dfogas commented 9 years ago

I run it no problem on Windows 8.1. by simply typing ./script/dev while in project directory (I had to install supervisor though).

ozywuli commented 9 years ago

I ran into the same issue on Windows 8.1. So I Installed node-supervisor first like dfogas suggested and then typed ./script/dev in the project directory and then voila, the react router demo was running on http://localhost:5000

logicerpsolution commented 9 years ago

I am facing same issue. I installed supervisor though. getting this error "D:\Angrej\gitrepo\react-router-mega-demo>./script/dev '.' is not recognized as an internal or external command, operable program or batch file."

nslobodchuk commented 9 years ago

I also had a problem. I solved it by running each line in ./script/dev manually. In one window run: ./node_modules/.bin/webpack --watch --devtool inline-source-map Open another window and run: supervisor app.js

You'll need to install node-supervisor before running the script