8000 no geo couchapp · Issue #1 · mick/mapchat_v1 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content 10000
no geo couchapp  #1
Open
Open
@ryuever

Description

@ryuever

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0