Coder Social home page Coder Social logo

Comments (7)

frank06 avatar frank06 commented on August 12, 2024

that's odd. i'll check it as soon as i can. in the meantime: which versions of riak-js and node are you using?

from riak-js.

manast avatar manast commented on August 12, 2024

Im using riak 0.14 for Mac Os ( which is very unstable I must say ), Node 0.5.0pre and riak-js 0.4.0rc2

from riak-js.

manast avatar manast commented on August 12, 2024

I can share with you my exact code. I removed even the meta.links.push and also updating the returned "flight" ( in my case it is a display ). I get the same exact error:

app.put('/displays/:displayId/playlist/:playlistId', function(req, res){
var displayId = req.params.displayId;
var playlistId = req.params.playlistId;

db.get('displays', displayId, function(err, display, meta) {
if ( err)
{
console.log(err);
res.statusCode = 400;
res.send(http.STATUS_CODES[res.statusCode]);
}
else
{
db.save('displays', displayId, display, meta);
res.send('OK');
}
});
});

from riak-js.

luccastera avatar luccastera commented on August 12, 2024

+1

I've been seeing a similar behavior. The error gets thrown within Utils.mixin.

from riak-js.

frank06 avatar frank06 commented on August 12, 2024

right. actually #67 turns out to be a duplicate of this issue, but i'll be closing this one. 4879680 should fix it. i plan to release today.

from riak-js.

manast avatar manast commented on August 12, 2024

That was really good news, since I was already implementing this directly on top of Riak's HTTP API as a workaround :).

from riak-js.

manast avatar manast commented on August 12, 2024

I tested it with the new release and the problem is solved. Good Job!! :)

from riak-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.