To read the file (text, HTML, JSON, etc) from the system or server using node js, you can do it in two ways first asynchronous (non-blocking) and second synchronous (blocking). You can read a file in NodeJS using fs the module, and can also read files in synchronous
Category: Node js
Node js is free open source. Learn Node.js framework in simple and easy steps starting from basic to advanced concepts with examples. In this Node js Tutorial We will discuss various topic of Node js like modules, express, promises, generators, MySql, etc.also we will discuss Free node js chat plugin and create node js chat plugin
Node JS Express Socket IO Chat Application Example
In this tutorial, you will learsn how to build a real-time chat applications using nodejs with socket.io, jquery, and express js. How to Build Real Time Chat Application using Node js, Express js, and Socket.IO Creating a chat application using
Read More Node JS Express Socket IO Chat Application Example
How to Deploy Node.js Application on AWS EC2 Server
In this tutorial, you will learn how to deploy node.js application on aws ec2 instance. How to Deploy Node.js Express Application on Amazon AWS EC2 Instance with Linux 2 Ubuntu Here are steps: Step 1: Log in to the AWS
Read More How to Deploy Node.js Application on AWS EC2 Server
How to Update Node.js to Version [18, 20, 21 ,22] Ubuntu Terminal
Simple use nvm install <node-version> command to install the new version, and type nvm use <node-version> to switch to the new version on linux ubuntu command line or terminal. How to Update Node.js to Version [18, 20, 21 ,22] Ubuntu
Read More How to Update Node.js to Version [18, 20, 21 ,22] Ubuntu Terminal
Cannot Find Module npm-cli.js Ubuntu
In this tutorial, you will learn how to set the correct npm path in your system environment variables or uninstall it and reinstall it to fix that cannot find the module npm cli.js ubuntu. Cannot Find Module npm-cli.js Linux Ubuntu
Npm Cannot find module npm-cli.js error
The “Npm cannot find module npm-cli.js error” occurs, when there are problems with the installation or misconfiguration of Node.js and npm on your system. To resolve the error, it is recommended to reinstall Node.js and npm, ensure proper environment variable
How to Install Node js 21 on Ubuntu 22.04
In this tutorial, you will learn how to install node.js version 21.x Ubuntu 22.04 system using Nodesource, and official repository. How to Install Node js 21 on Ubuntu 22.04 Here are 2 simple approaches for that: Approach 1: Installing Node.js
How to Install Node js 18.x|16.x on Ubuntu 22.04
In this tutorial, you will learn how to install node js 18.x or 16.x on ubuntu 22.04 using curl -sL https://deb.nodesource.com/setup_16.x, 18.x -o nodesource_setup.sh and sudo apt install nodejs command. How to Install Node.js 18.x|16.x on Ubuntu 22.04? Here are
Uninstall Node.js on a Mac OS
In this tutorial, we will show you 3 methods to uninstall Node.js from Mac OS system. How to Uninstall Node.js on a Mac? Here are the 3 methods: Method 1: Uninstall Node.js using Terminal One of the easiest and quickest
How to Install Node.js and NPM on Windows 11|10
In this tutorial, we will show you how to install Node JS and NPM on Windows 11|10. How to Install Node.js & NPM on Windows 11|10 Here are steps: Step 1: Download the node.js installer From the Official Website Go