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
59
results
Andrew Fletcher
•
This article works through the steps to update dependencies in package.json file to the latest version.
Use npm-check-updates or npm outdated to suggest the latest versions.
npm-check-updates is a utility that automatically adjusts a package.json with the latest version of all dependencies
npm install -g npm-check-updates
ncu -u
npm installHowever, a less intrusive (avoids a global install) way of doing this if you have a modern version of npm is:
npx npm-check-updates -u
npm...
Andrew Fletcher
•
Android Studio error
Installation did not succeed.
The application could not be...
Andrew Fletcher
•
Android Studio error
error: package android.support.v4.content does not...
Andrew Fletcher
•
Android Studio build errors
Build failed error: cannot find symbol if...
Andrew Fletcher
•
Initialise your Capacitor config
To initialise Capacitor use the CLI...
Andrew Fletcher
•
Run the NPX commands to update the app
npm run build && npx cap syncRun app with live reload
ionic cap run {platform} -l --externalReplace {platform} with Android or iOS depending on your environment as follows
Android
android
iOS
ios
To open in Android
ionic cap run android -l --externalYou'll be prompted to select a emulator (depending what you have loaded)
? Which device would you like to target?
Pixel 3 API 31 (emulator) (Pixel_3_API_31)
Pixel 5 API 27 (emulator)...
Andrew Fletcher
•
Approaches to resolving “Module not specified” Error in Android Studio
When...
Andrew Fletcher
•
Working in Android Studio when attempting to run a project I had the following...
Andrew Fletcher
•
It appears that the plugin or file path is not working how it used to be on...
Andrew Fletcher
•
In Xcode and executing a run command, the response error was:
{
"name":...
Andrew Fletcher
•
Currently, I have a situation where I have two repositories. The first is where I've held the code since the beginning. The second has come on board recently and is the client repo. However, rather than shut the original down, I want to keep both running with the same code. How do I synchronise them so that they contain the same thing?
Configure a remote that points to the upstream repository in Git to sync changes you make in a fork with the original repository....
Andrew Fletcher
•
Creating a bash script
Bash scripts are files containing code that tell your...
Andrew Fletcher
•
Accessing a remote server using PEM key, and I had the following...
Andrew Fletcher
•
How do you generate a .pem file from an existing .ppk key?
Is putty on your...
Andrew Fletcher
•
In Xcode attempting to build or run an app, I receiving a framework...