Short-tips

NodeJS WebSocket – Enable Real-time Communication

Before we dive into the thrilling world of setting up real-time communication in NodeJS using WebSockets, let us first understand what exactly is real-time communication in brief. Real-time communication on the web allows us to get and add resources on-demand, as and when we need them. Well, over-complicated isn’t it? Let me put it this …

NodeJS WebSocket – Enable Real-time Communication Read More »

Fixing “Missing write access” error when using NPM

The error “Missing write access ____” generally occurs while installing the node modules as a global package. It somehow looks like this in the console. Missing write access to /usr/local/lib/node_modules This error is generated due to improper permission. To fix this, we need to provide the proper permissions to the directory. Run this command. sudo …

Fixing “Missing write access” error when using NPM Read More »