While building Ionic app on MAC if you are getting the following issue: The solution is to go to terminal at the /ios/app folder location of Ionic app and run these commands: Build the Xcode ios project again and the issue will be fixed now.More
The best programming blog.
Covering a wide array of programming topics.
Remove an item from array JavaScript
Below is an example to remove an item from an array in JavaScript: The output will be [1,3] as we have removed the item with value “2”.More
WordPress Update failed: The update cannot be installed because we will be unable to copy some files
While updating a WordPress plugin if you are getting the folloiwng issue: The solution is to run the following commands: Running the above command will give the following permissions to yowur wordpress site: Updating the wordpress plugin will work now and will give the Updated! status to you.More
cd..: command not found Ubuntu
Issue: While typing the following command: cd.. you are getting the following error: The solution is to add an extra space after cd i.e the correct command is: This will fix the cd..: command not found issue.More
How to uninstall AWS CLI from MAC
Below are the steps to uninstall AWS CLI from MAC. Go to Terminal and type which aws The output will be like this: usr/local/bin/aws. Find the symlinks for that path: The output will be like this: Delete the following folders to remove it completely: Running which aws command will give you the following message now:…More
rmdir: Directory not empty MAC
The solution is to run the following command to fix rmdir: Directory not empty issue on MAC: Example command:More
Get the total count of stored procedures in MySQL database
Below is the query to get the total count of stored procedures in MySQL database: Replace YourDBName with your actual db name.More
MySQL: Column count doesn’t match value count at row 1
If you are getting the following error in your MySQL Column count doesn’t match value count at row 1. The solution is to cross check the columns in your Insert query, it could be possible that the insert query columns and and insert query params count are mismatched, example: If the above query there are…More
XCode: com.apple.developer.coremedia.hls.low-latency entitlement missing
On building your project in Xcode if you are getting the following error: The solution is to create a new file named App.entitlements at the root of your iOS project: Add the following text in that file: Building the iOS project in Xcode will not show that error now.More
Angular NullInjectorError No provider for Router!
If you are getting the following error while running ng test: The solution is to import RouterTestingModule in your spec file of your component The complete file will look like this:More