What is tilde (~) and a caret (^) in an npm package.json file? If you are using npm to manage your app, then you know that we will use package.json for managing dependencies….
Category: nodejs
MongoDB remove unique constraint
MongoDB Remove the unique constraint: Src:https://en.wikipedia.org/wiki/MongoDB Today, I’m working on a RESTful API Using Node.js With Express and Mongoose example, and I ran into a problem with the MongoDB Schema: POST: { username:…
PM2 cheat sheet | PM2 commands | PM2 tutorial
PM2 PM2 (Process Manager): PM2 is a process manager for Node.JS apps when I want to keep node app to run in the background mostly use pm2 for it. I wanted to…
Nodejs auto restart server | NodeJS watch file Changes
NodeJS Logo(Source: Wikipedia) When we working with nodejs application manually restarting our application is the tedious task for everyone, so everytime when we working on node application then we may think that…
Visual Studio: Cannot find runtime ‘node’ on PATH
Visual Studio code error: Cannot find runtime ‘node’ on path Error. If you are working on NodeJS Project and using Visual Studio Code as your IDE. Visual Studio Code provides debugging NodeJS application…