Skip to main content
18
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
Updating NPM packages using npm update and I'm seeing the following response npm...
Andrew Fletcher
Looking to install Solr on your server?  Not sure if it worth the...
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
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
Installing Varnish to increase the speed of the page load. Install varnish using...
Andrew Fletcher
Currently I'm working through an app that has been abandoned by the developers....
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
I need to set the default php-version of a subscription to php7.3.  The current server php version is PHP 7.1.33 (cli) (built: Oct 25 2019 11:33:58) ( NTS ). Using a shell program (I used Terminal) from the home directory I ran: export PATH=/opt/plesk/php/7.3/bin:$PATH; centos 6 use service httpd restartcentos 7 use sudo systemctl restart httpd.serviceHowever, through shell when I ran php -v the version remained at 7.1.33. Incase the restart wasn't enough I rebooted the server...
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...
Andrew Fletcher
To add ejabberd and run MYSQL to the server I needed to update the server...
Andrew Fletcher
This page shows a growing list of common commands for viewing and managing your...