developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
42
results
Andrew Fletcher
•
Approaches to resolving “Module not specified” Error in Android Studio
When attempting to run or debug the application on Android Studio you can come across the error “Module not specified” in the Android Studio. This article will outline approaches I took to get a resolution to this issue.
Tools
Tool
Version
Android Studio
Chipmunk | 2021.2.1
OS
OSX - Big Sur 11.6.7
Ionic
CLI 6.20.1
Node
18.0.0
Cordova
cli: 11.0.0
Method 1 - Synchronise the project
Let's...
Andrew Fletcher
•
Working in Android Studio when attempting to run a project I had the following...
Andrew Fletcher
•
ERROR Error: Uncaught (in promise): TypeError: undefined is not an object...
Andrew Fletcher
•
Working through an app project I inherited using Ionic, Angular and ngx-leaflet...
Andrew Fletcher
•
The issue
Text through the app is being rendered as
<p>Depletion...
Andrew Fletcher
•
As a web developer, you will most likely need to run local copies of a bunch of different web sites. Regularly switching between several sites daily. Sometime Drupal, other Laravel and whatever frameworks that are in your toolkit.
Install Docker and Lando
Do you have Docker installed? No, then go to the Docker Desktop page and download.
Now let's look in to Lando. Have a look at the Lando releases on GitHub to download the latest package for your OS.
Run the installer. I...
Andrew Fletcher
•
Running Docker
Dangerous word... I'm assuming that Docker is installed....
Andrew Fletcher
•
Running Docker and attempting to install a web proxy environment where I'm...
Andrew Fletcher
•
xdebug - failed to solve with frontend dockerfile.v0: failed to create LLB...
Andrew Fletcher
•
Create and push to Docker Hub
Creating your own custom image... you need to have...
Andrew Fletcher
•
If you are using theme_get_settings, such as:
$value = trim(theme_get_setting('my_setting'));
Then in your code editor you will also be seeing undefined function 'theme_get_setting'. This function has been deprecated for some time.
Instead, you need to use
Passing the theme.manager and theme.initialization services to theme_handler constructor as optional parameters is deprecated. These parameters are also mandatory.
$theme_handler = \Drupal::service('theme_handler');Get...
Andrew Fletcher
•
Resetting Docker is basically following the start parameters. All...
Andrew Fletcher
•
I'm writing these steps primarily for myself as a reference. However, if...
Andrew Fletcher
•
Setting up a new project in Docker and VS Code.
Using Terminal, go to your...
Andrew Fletcher
•
Running Docker in a new process and creating a container.
Go to the...