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
•
Visual Studio Code (VS Code) allows you to manage extensions using the VS Code...
Andrew Fletcher
•
A summary of Node package commands
Short cut commands
npm install...
Andrew Fletcher
•
Updating NPM packages using npm update and I'm seeing the following response
npm...
Andrew Fletcher
•
This article works through the steps to update dependencies in package.json...
Andrew Fletcher
•
phpcs issue in Visual Studio Code, I'm receiving this warning in VS Code:
phpcs: Unable to locate phpcs. Please add phpcs to your global path or use composer decency manager to install it in your project locally.
How to fix
You can install phpcs by using composer global command:
composer global require squizlabs/php_codesnifferThen in VS Code, go to
Click Code -> Preferences -> Settings
Select User Settings and locate 'PHP CodeSniffer', or in the Search settings enter...
Andrew Fletcher
•
If you are using theme_get_settings, such as:
$value =...
Andrew Fletcher
•
Setting up a new project in Docker and VS Code.
Using Terminal, go to your...
Andrew Fletcher
•
A bug bear that I have had for a while with Drupal content is how come the...
Andrew Fletcher
•
Step 1: Install Homebrew
Homebrew is the missing package manager for macOS.
As...
Andrew Fletcher
•
Working on a new CentOS 7 server, Node wasn't installed. You can quickly this through using the prompt node -v
node not foundIn Plesk, the extension had been installed, however this doesn't mean correctly. So I needed to install Node and npm on the CentOS 7 server.
Installing nodejs and npm
To get the curl for v14 go to https://github.com/nodesource/distributions#rpminstall and you'll see that the most suited is
# As root
curl -sL...
Andrew Fletcher
•
I started out with a simple task... install Tailwindcss. What unfolded is...
Andrew Fletcher
•
A list of languages for the iOS app in speech mode:
Arabic (Saudi Arabia) -...