Vue-storefront: console.debug is not a function

Created on 28 Nov 2017  路  4Comments  路  Source: DivanteLtd/vue-storefront

Currently getting this error

TypeError: console.debug is not a function
    at server-bundle.js:20710:17
    at process._tickCallback (internal/process/next_tick.js:103:7)

console.debug() isn't exist in node.js https://nodejs.org/api/console.html
Need to replace it with something else.

All 4 comments

Can you take care of this probably applying some logger (Winston?) which works on both client and server side?

ok I'll add Winston

console.debug didn't work in Node.js v6.x (as well as a few other things),
updating Node to v8.x fixed the problem for me

closing this since it works fine with Node v8.x

Was this page helpful?
0 / 5 - 0 ratings