npm install is ok,but npm start get erros
So I can't get a corect bundle.js. Maybe the reason is Windows 8.1?
npm ERR! [email protected] start: STATIC_ROOT=./static watchify -o js/bundle. s -v -d .
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is most likely a problem with the todomvc-flux package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! STATIC_ROOT=./static watchify -o js/bundle.js -v -d .
npm ERR! You can get their info via:
npm ERR! npm owner ls todomvc-flux
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "d:\Program Files\nodejs\node.exe" "d:\Program Files\node
s\node_modules\npm\bin\npm-cli.js" "start"
npm ERR! cwd d:\web_try\flux\examples\flux-todomvc
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.23
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! d:\web_try\flux\examples\flux-todomvc\npm-debug.log
npm ERR! not ok code 0
There have been problems on Windows, yes. I have not yet looked into node on windows, so I don't know if this is the source of your problems.
This is a Windows problem (can't set env variables via command like this), so this is basically a dupe of #22 and should get fixed by dropping the use of statics - #25.