sporto / elm-example-app

An example Elm single page application
436 stars 85 forks source link

Error when running npm run dev #12

Closed jhrcek closed 8 years ago

jhrcek commented 8 years ago

Having finished the chapter on webpack of your book I'm stuck with npm run dev command. After cloning this repository and after git checkout 02-webpack and running the above command I'm getting this error: screenshot from 2016-06-16 21-47-31

Unfortunately I'm not particularly skilled with npm. Any ideas? Your elm tutorial book is great, by the way :-)

sporto commented 8 years ago

Looks like the webpack config is not quite right, let me check my instructions

sporto commented 8 years ago

I think this is the version of Node, which version are you using?

jhrcek commented 8 years ago

Is this what you mean?

$ node -v
v0.10.42
$ npm -v
1.3.6
jhrcek commented 8 years ago

I reinstalled node to 4.4.5 and it's working fine. Thanks for the tip :-)