Welcome to my blog !

Fix The Angular Compiler requires TypeScript versions

April 2, 2021 ·  2 min read

This post is an solution for how to fix an angular application upgrade error “Error: The Angular Compiler requires TypeScript >=4.0.1 and 4.1.7 but 4.2.0 was found instead.” This error occurs while migrating an application from Angular 9 to Angular 10 or Angular 10 to 11 versions. This error occurred after my application was upgraded from Angular 10 to Angular 11 with ng update command What exactly does this error indicate?...

Different between == and === in JavaScript examples

April 2, 2021 ·  2 min read

This post covers an examples and notes about comparison of double equal signs(==) and thriple equal signs(===) operators in JavaScript. First what does equal signs about? Both operators are used to compare different values. == is called equality operator, which applies type coercion, what doe type coercion, It convert the values before comparison m==n returns true if m and n are same values and types, else false. === is called identity operators, which not applies type coercion, not converting the values before conversion....

How to generate HAR file in Chrome|Firefox|IE or edge

April 1, 2021 ·  3 min read

This blog post talks about what is HAR file, used for, How to generate har file in chrome, firefox and safari, tools to view harfile. What is HAR file? The har file is an acronym for the http archive file, which is used to store the http session information for all of a webpage’s Http requests. This file’s content is in json format. And file extension is HAR This file contains network call information for a single web page or multiple web pages....

chalkjs command lining output styling

March 31, 2021 ·  2 min read

chalkjs is a JavaScript library for styling the console output strings in a terminal. We can style using foreground and background colors, Underline,Bold and Rgb colors This is a popular library used in Nodejs to apply syntax colors to features Opensource npm library provided All colours are supported Server side support, not browser based library install npm library Let’s first create a node application called chalkjsdemo First create a chalkjsdemo directory...

How to read command line arguments in Nodejs application?

March 30, 2021 ·  2 min read

This post covers an example how to read command line arguments from a nodejs application. In Nodejs, There are many ways we can read command line parameters from terminal. parse with process.argv variable minimist library yargs npm library How to read command line arguments using process argv variable process is an environment variable to hold nodejs environment information. argv parameter stores command line information and returns array of command line arguments....

You'll get a notification every time a post gets published here.