bminer / node-static-asset

Static asset manager for Node.JS and Express
MIT License
48 stars 13 forks source link

Missing require('fs') #1

Closed dmmalam closed 12 years ago

dmmalam commented 12 years ago

error: Error - fs is not defined ReferenceError: fs is not defined at Object.exports.etag (/Users/dharmesh/Code/shark/node_modules/static-asset/lib/cache-strategies/default.js:28:13) at IncomingMessage.assetFingerprint (/Users/dharmesh/Code/shark/node_modules/static-asset/lib/static-asset.js:90:26) at Object.res.locals.assetFingerprint (/Users/dharmesh/Code/shark/node_modules/static-asset/lib/static-asset.js:30:28) at Object.Hogan.Template.ls (/Users/dharmesh/Code/shark/node_modules/hogan.js/lib/template.js:182:15) at Object.Hogan.Template.s (/Users/dharmesh/Code/shark/node_modules/hogan.js/lib/template.js:86:20) at Object.eval [as r](eval at %28/Users/dharmesh/Code/shark/node_modules/hogan.js/lib/compiler.js:242:31%29) at Object.Hogan.Template.ri (/Users/dharmesh/Code/shark/node_modules/hogan.js/lib/template.js:43:19) at Object.render (/Users/dharmesh/Code/shark/node_modules/hogan.js/lib/template.js:38:19) at /Users/dharmesh/Code/shark/app/server/support/hogan.js:44:27 at /Users/dharmesh/Code/shark/app/server/support/hogan.js:30:13