I start to learn Node.js in BS. And sure, I have many problems.
When I did the test in Windows, all are OK but not on BS. Finally, I know BS is using very old version of Node.js, version 5.1.1. And when you are using webpack, BS is not understood.
Here is my script to show version of Node.js in BS:
var http = require("http");
http.createServer(function (req, res){
res.end('Node Version: ' + process.version)
console.log('Node Version: ' + process.version)
}).listen(3000);
Have fun.
