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
31
results
Andrew Fletcher
•
A summary of Node package commands
Short cut commands
npm install <package>
npm i <package>npm install --save <package>
npm i -S <package>npm install --save-dev <package>
npm i -D <package>npm install --global <package>
npm i -G <package>npm test
npm t
Update and outdated
Use outdated to discover dependencies that are out of date
npm outdatedUse update to perform safe dependency upgrades
npm updateUse install <packagename>@latest to...
Andrew Fletcher
•
Resources - changing Drush
Type
Version
Drush (current)
11.6.0
Drush...
Andrew Fletcher
•
Attempting to run a composer update command, you know the one used...
Andrew Fletcher
•
Updating NPM packages using npm update and I'm seeing the following response
npm...
Andrew Fletcher
•
Using Composer to Manage Projects and if required their dependencies
In this...
Andrew Fletcher
•
Looking at composer I first wanted to check the current version, which is actioned by running the following command
composer -VThe response I was seeing
Composer version 2.1.5 2021-07-23 10:35:47
How to update to the latest version of Composer?
Going to the Composer site, today the latest version is 2.5.1. To update my version to this I need to run
composer self-updateHowever, if you have the following response
[Composer\Downloader\FilesystemException]
Filesystem...
Andrew Fletcher
•
Build the PHP base image with apache-buster using the Dockerfile.base
Since JN...
Andrew Fletcher
•
This article works through the steps to update dependencies in the...
Andrew Fletcher
•
Had the situation where you are running composer however, the scripts stops with...
Andrew Fletcher
•
While working with lando, I had the following error
ERROR: for safs_appserver_1...
Andrew Fletcher
•
Currently I'm working through an app that has been abandoned by the developers. The client was getting no response from the dev company, when they asked if I could have a look. The app hadn't been updated for 18 months. So of course, a product that hasn't been updated in that timeframe is going to have a suite of npm update issues / conflicts.
What is the difference between dependancy and devDependancy packages?
When you install an npm package using npm install...
Andrew Fletcher
•
Let say in composer.json you have
"drupal/core-recommended": "^9.2" You're...
Andrew Fletcher
•
Running composer on a server... when running the command composer update, screen...
Andrew Fletcher
•
Have you tried to run a composer update script that...
Andrew Fletcher
•
You can create a new date/time format by navigating to:
Admin ->...