If the below line is used in the javascript code:const express = require(express); then autocomplete / intellisense will not work. It will not display the relevant methods as shown in the image below. This is the correct code to use:const express = require("express"); The quotation marks make the difference and the following image shows the … Continue reading How to fix issue if autocomplete or intellisense does not work in vscode for express.js
Tag: intellisense
How to install node.js on Linux Mint or Ubuntu Linux
To install node.js for LinuxMint Vera (21.1) or Ubuntu, do followingVisit https://github.com/nodesource/distributions#deb Follow the instructions to install the .deb file on your system at https://github.com/nodesource/distributions#debinstall. Open a linux terminal window and enter the following: $ curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - &&\sudo apt-get install -y nodejs <enter> It will now install node.js on … Continue reading How to install node.js on Linux Mint or Ubuntu Linux