Callback is not defined - Node js

Asked

Viewed 191 times

0

I’m making a connection with the Gento, and the connection works perfectly, but when I do the function I get the message

'Referenceerror: callback is not defined'

Follows the Code,

magento.catalogProduct.list(callback);
  • The error already says it all, the callback variable is not set. Place the relevant code block so we can help you.

  • There is no callback on my server.js, I have to set it as?

  • @Andreneto callback raisin function(){ console.log(arguments);}. Works?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.