This little script allow you to get a stackoverflow searchable link, which can be use in the console.
$ npm i --save codename-stackoverflow
const searchStackoverflow = require('codename-stackoverflow');
console.log(searchStackoverflow("[JS]" + THE_ERROR));
and Voila!