Posts

Showing posts with the label mac

NPM / NODEJS installation issues [RESOLVED]

Yesterday I decided to give node.js and socket.io a shot and make something good out of it. The first thing that we do is install stuff right.. So I thought I'd go the easy way, wget all the installable packages from nodejs.org for the mac and I was hoping things would be stable. But 'not' to my surprise (as this keeps on happening), when I started out using npm (the package manager or let's just say the easy_install python alias) that comes with the latest installer started giving me issues like the following whenever I typed npm install socket.io or even npm -v(to check the version) for that matter - node.js:201         throw e; // process.nextTick error, or 'error' event on first tick               ^ Error: No such module     at Object. (/usr/lib/node_modules/npm/lib/utils/config-defs.js:5:21)     at Module._compile (module.js:441:26)     at Object..js (module.js:459:10) ...

ClamAV - One of the 'good' open source command line antivirus solution

This really makes my life easy if I want to deploy an upload server, or a mail server in UNIX and the files would be downloaded in WINDOWS or similar virus-prone operating systems. You can read more about it on the official website . A C-extension for python is available HERE to programmatically scan files and open pyclamd (daemon) socket. Θ Ω Sushant ♂