You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OK, I have tried all 3 ways of getting Haste up and running - files, redis and memcached! All three of them give some error. Here is the one for file :
info: compressed application.js into application.min.js
info: listening on localhost:7777
/home/ubuntu/code/node/haste-server/lib/document_stores/file.js:28
var fn = _this.basePath + '/' + _this.md5(key);
^
TypeError: Object [object Object] has no method 'md5'
at Object.oncomplete (/home/ubuntu/code/node/haste-server/lib/document_stores/file.js:28:45)
It is strange because file.js has an md5 method explicitly defined for the object FileDocumentStore.
The text was updated successfully, but these errors were encountered:
Since str gets passed into md5, I think its better to change the two uses to FileDocumentStore.md5. I'm pushing a fix momentarily. Thanks so much for the feedback, and if you have issues with the others please report. I'm using the redis one in production, and an older version of the memcached one on a private install.
OK, I have tried all 3 ways of getting Haste up and running - files, redis and memcached! All three of them give some error. Here is the one for file :
It is strange because file.js has an md5 method explicitly defined for the object FileDocumentStore.
The text was updated successfully, but these errors were encountered: