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: error
How to convert PostScript script to a .ps file for viewing in PDF viewer or to PNG
Reading about Gerard Huet's paper on the geometry of the Shri Yantra available in PDF format at this link http://pauillac.inria.fr/~huet/SKT/sanskrit.html.orig, I was prompted to try out the Postscript code he had in and Appendix in the paper. After typing the code into a .txt file, the file did not render using Evince or a PDF … Continue reading How to convert PostScript script to a .ps file for viewing in PDF viewer or to PNG
How to fix Module was compiled with an incompatible version of Kotlin error in Android
Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.1.16 To fix above error in Android Studio rebuild the project from the menu using Build -> Rebuild Project.
How to install Linux Mint on Crucial MX500 SATA SSD drive on Dell Vostro 3546 laptop after BIOS upgrade
The humble Dell Vostro 3546 is an old laptop from 2014, which came with an Intel 4th Generation 4210U processor, 1 TB SATA 5400 rpm hard disk and 4 GB DDR3 (low voltage) 1.35V RAM. It worked fine till now even when it ran Linux Mint 20.3 with Blender 3D. However, everytime an Android app … Continue reading How to install Linux Mint on Crucial MX500 SATA SSD drive on Dell Vostro 3546 laptop after BIOS upgrade
How to fix error message “Please select Android SDK” in Android Studio
To fix this error, from the Android Studio menu, select the option File->Sync Project with Gradle Files The error would go.
Email: [Firebase] Client access to your Cloud Firestore database expiring in X day(s)
The easiest way to overcome this expiry is to change the date in the rules after logging into the account:match /{document=**} {// from previous date 2020, 11, 11 to new date 2021, 12, 11allow read, write: if request.time < timestamp.date(2021, 12, 11);} However, do note that it is important to drop access using this method … Continue reading Email: [Firebase] Client access to your Cloud Firestore database expiring in X day(s)
How to fix initramfs-tools error when updating it
Below error appears when updating the initramfs-tools: Processing triggers for initramfs-tools (0.130ubuntu3.8) …update-initramfs: Generating /boot/initrd.img-5.1.0-15-genericI: The initramfs will attempt to resume from /dev/dm-1I: (/dev/mapper/vg0-swap)I: Set the RESUME variable to override this. Before proceeding beyond this point, take a data backup. This error usually occurs if the computer had dual booting and a swap file that … Continue reading How to fix initramfs-tools error when updating it
How to fix error while updating repositories in Ubuntu or Linux Mint
On entering the apt-get update command, the following errors appeared. Reading package lists… DoneW: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease Cannot initiate the connection to dl.google.com:80 (2414:6221:4109:825::210a). - connect (101: Network is unreachable) Could not connect to dl.google.com:80 (2xx.5x.2xx.2xx), connection timed outW: Some index files failed to download. They have been ignored, or old ones used instead. … Continue reading How to fix error while updating repositories in Ubuntu or Linux Mint
Error bd_crypto_luks_open_blob called but not implemented when opening Luks Encrypted volume in Lubuntu
Below error appears in Lubuntu 18.04 LTS bd_crypto_luks_open_blob called, but not implemented when opening Luks Encrypted volume using PCManFM, the Lubuntu File Manager. To overcome this error, open a terminal window and enter the commands below: $ sudo apt install libblockdev-crypto2 <enter> $ systemctl restart udisks2.service <enter>
Error installing ttf-mscorefonts-installer Failed to fetch
Error installing ttf-mscorefonts-installer Failed to fetch https://excellmedia.dl.sourceforge.net/project/corefonts/the fonts/final/andale32.exe 404 Not Found When you get above error while installing ttf-mscorefonts-installer, then you can resolve by opening a terminal window and entering the following commands: $ wget -c http://ftp.de.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb -P ~/Downloads <enter> $ sudo apt install ~/Downloads/ttf-mscorefonts-installer_3.6_all.deb <enter> Now it will install fully. Remember this file is … Continue reading Error installing ttf-mscorefonts-installer Failed to fetch