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
Also, many examples use console.log as the callback (e.g. .act('role:math,cmd:sum,left:1,right:2', console.log)) which is very confusing since the callback has 3 parameters and the 3rd one is very verbose. I guess back in the day when the signature was (error, response) this was not an issue but today you get pages of debug info and think it didn't work:
Just following the guide http://senecajs.org/getting-started/ and various things not working (Windows 10; NodeJS v11):
node math-tree.js --seneca.print.tree
prints gobbledegook but no tree:curl -d '{"role":"math","cmd":"sum","left":1,"right":2}' http://localhost:10101/act
similarly:Server prints:
Probably has something to do with how Windows/DOS handles quotes as this works:
The text was updated successfully, but these errors were encountered: