5556 Views
After installation of cordova you might face the issue: -bash: cordova: command not found
To install cordova on your mac you need to install node and npm first. After installation of this you can install cordova.
To install cordova run the following commands in your terminal:
npm ...
Sheetal Kumar
Oct 01, 2020
18312 Views
In the express framework of node you need to combine multiple routes in single so make code clear and clean. Here we are explaining the way to do this.
First of all, let us focus on directory structure first to make a clear understanding.
- config
- controllers
- models
- public
- ...
Sheetal Kumar
May 06, 2020
2674 Views
In Node.js to delete a file you have to use fs module of node whether you are using any framework like Express or Koa etc. Node FS provides two function to delete files from disk, unlink(path, callback) and unlinkSync(path).
unlink(path, callback) is asynchronous and provides ...
Sheetal Kumar
Feb 28, 2020
2513 Views
Nowadays Node.js is being more popular to develop the backend for websites and API. If you are developing your first project on Node.js then you must have the question in your mind that How will I listen to request in the node, How will I manage routes in the node, How will I manage files or how to ...
Sheetal Kumar
Feb 26, 2019
33724 Views
When you use Sequelize ORM to connect database then you might face issue time wrong time retrieval from the database. Because Sequelize returns UTC in select queries for DateTime fields. It this situation you need to change the configuration of Sequelize to get the proper records.
You ...
Sheetal Kumar
Oct 19, 2018