While running command
composer require "npm-asset/fonticonpicker--fonticonpicker"
giving error
Could not find a matching version of package npm-asset/fonticonpicker--fonticonpicker. Check the package spelling, your version constraint and that the package is available in a stability which matches you
r minimum-stability (stable).
While running command
composer require "npm-asset/fonticonpicker--fonticonpicker:*"
giving error
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires npm-asset/fonticonpicker--fonticonpicker, it could not be found in any version, there may be a typo in the package name.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
- It's a private package and you forgot to add a custom repository to find it
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
------------------------------ Composer.json------------------------------
{
"name": "pantheon-upstreams/drupal-composer-managed",
"description": "Install Drupal 9 with Composer on Pantheon.",
"type": "project",
"license": "MIT",
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
},
{
"type": "path",
"url": "upstream-configuration"
},
{
"type": "package",
"package": {
"name": "woocommerce/flexslider",
"version": "2.7.2",
"type": "drupal-library",
"source": {
"url": "https://github.com/woocommerce/FlexSlider.git",
"type": "git",
"reference": "2.7.2"
}
}
}
],
"require": {
"pantheon-upstreams/upstream-configuration": "dev-main",
"composer/installers": "^1.9",
"drupal/core-composer-scaffold": "^9.2",
"drupal/core-recommended": "^9.2",
"pantheon-systems/drupal-integrations": "^9",
"cweagans/composer-patches": "*",
"drush/drush": "^11 || ^12",
"drupal/fontawesome": "^2.24",
"drupal/fontawesome_menu_icons": "^2.0",
"oomphinc/composer-installers-extender": "*",
"wikimedia/composer-merge-plugin": "*"
},
"require-dev": {
"drupal/core-dev": "^9.2"
},
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "stable",
"prefer-stable": true,
"extra": {
"drupal-scaffold": {
"locations": {
"web-root": "./web"
},
"allowed-packages": [
"pantheon-systems/drupal-integrations"
],
"file-mapping": {
"[project-root]/.editorconfig": false,
"[project-root]/pantheon.upstream.yml": false,
"[project-root]/.gitattributes": false
}
},
"installer-types": [
"npm-asset",
"bower-asset"
],
"installer-paths": {
"web/core": ["type:drupal-core"],
"web/libraries/{$name}": ["type:bower-asset","type:npm-asset","type:drupal-library"],
"web/modules/contrib/{$name}": ["type:drupal-module"],
"web/profiles/contrib/{$name}": ["type:drupal-profile"],
"web/themes/contrib/{$name}": ["type:drupal-theme"],
"drush/Commands/contrib/{$name}": ["type:drupal-drush"],
"web/modules/custom/{$name}": ["type:drupal-custom-module"],
"web/profiles/custom/{$name}": ["type:drupal-custom-profile"],
"web/themes/custom/{$name}": ["type:drupal-custom-theme"],
"web/private/scripts/quicksilver/{$name}/": ["type:quicksilver-script"]
},
"composer-exit-on-patch-failure": true,
"patchLevel": {
"drupal/core": "-p2"
},
"merge-plugin": {
"include": [
"web/modules/contrib/webform/composer.libraries.json"
]
},
"enable-patching": true,
"patches": {
"drupal/menu_token": {
"PHP 8.1: Deprecated function": "https://www.drupal.org/files/issues/2023-03-09/3335215.patch"
},
"drupal/core": {
"Public file not fully protected core": "https://www.drupal.org/files/issues/2022-07-05/3117665-updating-global-variables-20.patch"
}
}
},
"autoload": {
"classmap": [
"upstream-configuration/scripts/ComposerScripts.php"
]
},
"scripts": {
"pre-update-cmd": [
"DrupalComposerManaged\\ComposerScripts::preUpdate"
],
"upstream-require": [
"DrupalComposerManaged\\ComposerScripts::upstreamRequire"
]
},
"scripts-descriptions": {
"upstream-require": "Add a dependency to an upstream. See https://pantheon.io/docs/create-custom-upstream for information on creating custom upstreams."
},
"config": {
"preferred-install": "dist",
"sort-packages": false,
"platform": {
"php": "8.1"
},
"allow-plugins": {
"composer/installers": true,
"cweagans/composer-patches": true,
"drupal/core-composer-scaffold": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"oomphinc/composer-installers-extender": false,
"wikimedia/composer-merge-plugin": true
}
}
}