Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

getting parse error  #15

@ralyodio

Description

@ralyodio
function* create(next) {
    try{
        // Parse the POST data
        var todo = yield parse(this); //this throws an error

https://github.com/rethinkdb/rethinkdb-example-nodejs/blob/master/todo-angular-koa/app.js#L64
This example throws an error for me.

screenshot 2015-05-21 03 29 55

I tried yield parse.json(this) and still not sure what the deal is. Same message.

Typically this means its not an object...but a string, and it indeed looks like JSON.stringify was ran on it.

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions