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
13
results
Andrew Fletcher
•
When executing the following command, the response I'm getting is
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@fortawesome%2fpro-light-svg-icons - Not found
npm ERR! 404
npm ERR! 404 '@fortawesome/pro-light-svg-icons@^5.11.2' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.This error 404 Not Found - GET https://registry.npmjs.org/@fortawesome%2fpro-light-svg-icons - Not...
Andrew Fletcher
•
The viewport meta tag in a website's HTML is used to control how the webpage is...
Andrew Fletcher
•
This article works through the steps to update dependencies in package.json...
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
•
As a web developer, you will most likely need to run local copies of a bunch of...
Andrew Fletcher
•
Every project has to kick off somewhere. Yep well that's a no brainer....
Andrew Fletcher
•
I installed Lando 3.6.2 and Laravel 9. When I visit the web page, I...
Andrew Fletcher
•
Do you want set up a CI/CD process using GitHub Actions?
This is a walk-through...
Andrew Fletcher
•
If like me you tried the command
php artisanHowever, you had the following “Could not open input file: artisan” error when starting the Laravel service using the above command.
How come “Could not open input file: artisan” error is showing up in Laravel
There are a few causes behind this error.
File doesn't exist
Incorrect console location
Missing correct permission for artisan
Composer install
File doesn't exist
Yep - I know, I shouldn't have to reference this one, but it's...
Andrew Fletcher
•
Load testing verifies the system performance under the expected peak load....
Andrew Fletcher
•
A bug bear that I have had for a while with Drupal content is how come the...