Unable to create Flux todo-mvc example
Trying to create an example flux-todomv from facebook which is here: flux-todomvc
I installed npm which installed the dependencies.
When I run npm start
, I get back:
watchify -o js/bundle.js -v -d .
1655542 bytes written to js/bundle.js (3.51 seconds)
However, no bundle.js file was generated and when I open index.html a 404 error is thrown trying to get bundle.js
.
Any ideas?
source to share
I just pulled the repo to check out and I got it up and running with no problem.
Here's the environment I'm using:
- OS X Mavericks
- Node v0.10.29
- npm 1.4.14
- git 1.9.4
Command line steps:
- git clone https://github.com/facebook/flux.git
- cd flux / examples / flux-todomvc /
- npm install
- npm start
- Ctrl-C
- open index.html
Then, if you want to hack it, you start checking with again npm start
so that your changes translate to standard ECMAScript 5.
source to share