remove the double quote ” in php.ini
REPLACE
extension=”yaml.so”
WITH
extension=yaml.so
remove the double quote ” in php.ini
REPLACE
extension=”yaml.so”
WITH
extension=yaml.so
How to solve following problem ?
Problem 2
– Root composer.json requires PHP extension ext-yaml * but it is missing from your system. Install or enable PHP’s yaml extension.
Problem 3
– Root composer.json requires fourover/sdk 0.1.3 -> satisfiable by fourover/sdk[v0.1.3].
– fourover/sdk v0.1.3 requires ext-yaml * -> it is missing from your system. Install or enable PHP’s yaml extension.
Execute 2 commands below
brew install libyaml
l
pecl install libyam
Result of the execution of the commands above
Build process completed successfully
Installing '/usr/local/Cellar/[email protected]/8.0.21/pecl/20200930/yaml.so'
install ok: channel://pecl.php.net/yaml-2.2.2
Extension yaml enabled in php.ini
So as a tech lead, we ahve to review code before deployment
The challenges are
The solution found was to use GIT SQUASH instead of git merge as it combines all sub commits to only one final commit in the log history
The solution found, is to use GIT MERGE instead of git squash against the dev environment after successful deployment to PROD
as the git log history stays intact and merging keep records straight
git show –stat –oneline <commitNumber>
The response is not a valid JSON response.
You need to compress/export the file in a lighter weight
such as
If you’re connecting multiple displays to your Mac, use the Tech Specs page to find out how many external displays your Mac supports.
Illuminate\Database\QueryException
SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at end of input LINE 1: SET search_path TO ^ (SQL: SET search_path TO )
solution add to config/database.php
'default' => env('DB_CONNECTION', 'pgsql-raleche'),
'search_path' => 'mapi_admin_tool,api,product,public,trade,ws,eddm',
Failed to download laravel/nova from dist: The 'https://nova.laravel.com/dist/laravel/nova/laravel-nova-0a8ec5b37dc3ca29f4b79c7318c9278e5a5d2c1a-zip-7e4351.zip' URL could not be accessed: HTTP/2 403
composer config http-basic.nova.laravel.com [email protected] NovaHasspassword
{"username":"[email protected]","password":"asdsadasdqweqwerewrew”}
As of March 20th 2022, https://github.com/GrahamCampbell updated the following library guzzlehttp/psr7
so in your unit test you will see errors as follow
InvalidArgumentException: "Unprocessable Entity" is not valid header name
InvalidArgumentException: "409 conflict with the current state of the target resource" is not valid header name
InvalidArgumentException: "Not Found" is not valid header name
InvalidArgumentException: "Not Acceptable" is not valid header name
InvalidArgumentException: "Not Found" is not valid header name
InvalidArgumentException: "Bad Request" is not valid header name
InvalidArgumentException: "409 conflict with the current state of the target resource" is not valid header name
InvalidArgumentException: "500 Internal Server Error" is not valid header name
The version 1.8.5 was breaking our set of unit test
Solution is to update composer.json and use this version below
"guzzlehttp/psr7": "1.8.3",
https://github.com/guzzle/psr7/blob/2.2.1/CHANGELOG.md