scotch-io / react-flux-cart

Code for the tutorial by @kenwheeler: Create a Shopping Cart Using React.js and Flux
263 stars 132 forks source link

react shopping cart not building #5

Open wolfgangersmith opened 9 years ago

wolfgangersmith commented 9 years ago

Hello,

I'm trying to build the shopping cart with npm start (i put the "build" script code in "start") because all npm build did was start a new line in terminal.

and this was my output http://pastebin.com/DEUcuGcR

It's not able to find the module "dispatcher"

Any idea what's wrong? perhaps it's something to do with node itself?

connor11528 commented 8 years ago

I ran

$ npm install
$ http-server

and everything worked. If you don't have http-server (an npm package) installed you could use $ python -m SimpleHTTPServer