Skip to main content
20
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
Installing PHP on OSX and it installed PHP 8.2.x.  However, for my...
Andrew Fletcher
Working on a decoupled React / Drupal 9 site. Aim: Adjust the output of curated...
Andrew Fletcher
How to make React calls on a Drupal 9 backend site using the search...
Andrew Fletcher
Trying to have a chat recently, and Microsoft Teams would not open on MAC OS....
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working through the output for recently viewed pages... the code structure: <?php namespace Drupal\custom\Plugin\GetData\paragraph; use Drupal\custom\Plugin\GetData\ContentBase; use Drupal\custom\Plugin\GetData\ParagraphTrait; use Drupal\node\Entity\Node; /** * Provides Recent view pages data. * * @GetData( * id = "recent_view_pages", * title = @Translation("Recent view pages Data"), * ) */ class...
Andrew Fletcher
How do you generate a .pem file from an existing .ppk key? Is putty on your...
Andrew Fletcher
A recent attempt to run an update composer (regular activity for many of...
Andrew Fletcher
I'm writing these steps primarily for myself as a reference.  However, if...
Andrew Fletcher
Core Data - customising our data model When you are using Core Data, and let's...
Andrew Fletcher
Step 1: Install Homebrew Homebrew is the missing package manager for macOS. As per the Homebrew site, paste the following in a macOS Terminal prompt. $ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"This acton will install Homebrew on your OSX.  Using the following command you can check the brew version $ brew -v  Step 2: Install Node via Homebrew Type following command to install node $ brew install nodeCheck the Node and NPM version...
Andrew Fletcher
I need to set the default php-version of a subscription to php7.3.  The...
Andrew Fletcher
Working on a new CentOS 7 server, Node wasn't installed.  You can...
Andrew Fletcher
Attempting to load changes in a staging site and the bountiful error page...
Andrew Fletcher
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI...