Description
thanks first for your great book GEO Couch and Node.js.
recently i am practice the source code, but when it come to the 4th chapter, I download your old version mapchat_v1, but when i run command
node server.js.
it prompt Error: { error: 'not_found', reason: 'missing' }
below is the message for testing, i add two statement in index.js file :
Database.prototype.query = function (options, callback) {
options.path = [this.name, options.path].filter(Boolean).join('/');
console.log('query options.path :', options.path);
console.log('query options:', options);
this.connection.request(options, callback);
};
query options: { method: 'GET',
path: 'mapchat/_design/geo/_spatiallist/proximity-clustering/recentPoints',
query:
{ bbox: '-180,-90,180,90',
sort: 'true',
limit: '5',
nopoints: 'true' } }
because it could come to this step. i think it should be the issue when connection,
" no geo couchapp pushed " may be the reason.
Any answer will be appreciated