brikis98 / node-backbone-skeleton

A skeleton project for creating applications that use node.js server-side, backbone.js client-side, underscore.js templates, CoffeeScript as a JS pre-processor and Compass/SASS as a CSS pre-processor..
84 stars 16 forks source link

Compass not properly configured when using app for first time #5

Closed reduxdj closed 12 years ago

reduxdj commented 12 years ago

TypeError: Cannot read property 'compass' of undefined at Watcher.watch (/Users/dj/node-backbone-skeleton/util/watcher.js:20:23) at HTTPServer. (/Users/dj/node-backbone-skeleton/server.js:27:20) at HTTPServer.configure (/Users/dj/node-backbone-skeleton/node_modules/express/lib/http.js:542:61) at Object. (/Users/dj/node-backbone-skeleton/server.js:26:7) at Object. (/Users/dj/node-backbone-skeleton/server.js:35:4) at Module._compile (module.js:441:26) at Object..js (module.js:459:10) at Module.load (module.js:348:31) at Function._load (module.js:308:12) at Array.0 (module.js:479:10)

this can be resolved by creating a test compass app like this:

compass create test

brikis98 commented 12 years ago

Do you have the NODE_ENV environment variable defined? Is the config file in the right place?

reduxdj commented 12 years ago

Yes that fixes it. thanks