jnordberg/wintersmith

Error in webapp example

MichaelJCole opened this issue · 1 comments

Hi, I'm getting this error trying to run the webapp example:

☀  wintersmith preview                                                   master
  starting preview server
  using config file: /home/michael/scm/wintersmith/examples/webapp/config.json
  LiveReload socket running on port 35729
  server running on: http://localhost:8080/
  200 / JsonPage 14ms
  200 /livereload.js StaticFile 32ms
  200 /styles/main.css LessPlugin 84ms
  500 /scripts/main.js BrowserifyPlugin 255ms

  error scripts/main.coffee: Cannot find module './../../lib/test/css/supports' from '/home/michael/scm/wintersmith/examples/webapp/node_modules/browsernizr/test/css'
git clone git@github.com:jnordberg/wintersmith.git
cd wintersmith/examples/webapp
npm install
wintersmith preview  # gives error above
cd ../..
npm install
cd examples/webapp
wintersmith preview  # gives same error above

The page loads and shows "Hello World" on a gradient background, with nothing else.

Any suggestions?

Was due to a broken browsernizr build, try reinstalling your node_modules and it should work