bminer / node-static-asset

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

Module doesn't work due to crc dependency update #6

Closed robotiko closed 10 years ago

robotiko commented 10 years ago

Hi, recently refreshed the environment and started to have problems with the module. Narrowing the issue I found that the problem comes from the update of the CRC module.
Package.json defines dependency as "crc": ">=0.2" and crc module is now version "1.0.0" and changed quite a bit.

Error: Cannot read property 'crc32' of undefined at module.exports (APP\node_modules\static-asset\lib\hash.js:6:41) at Object.exports.etag (APP\node_modules\static-asset\lib\cache-strategies\default.js:40:14)

Thanks!

bminer commented 10 years ago

Duplicate of #7. This is fixed as of v0.5.3. Thanks!