Showing posts with label nodejs. Show all posts
Showing posts with label nodejs. Show all posts

Thursday, October 1, 2020

Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (83)

 This is an easy solution, you need to recompile SAAS using:

npm rebuild node-sass



Saturday, May 17, 2014

Socket.io: Sending logs to a file

It's quite simple to send the console messages from socket.io to a file. I followed this tutorial (http://masashi-k.blogspot.mx/2013/02/logger-for-socketio-save-it-into-redis.html) and the steps are:

1) Install winston
2) Configure the logger output file
3) Link the logger to socket.io using this code:


 var io = require('socket.io').listen(server, {
      logger : logger
    });