I installed the sylius v1.0.0-beta2 and symfony 3 but I have a bit problems when I install Sylius metadata.
When I launch the command composer.phar require sylius/metadata-bundle it return an error
Your requirements could not be resolved to an installable set of packages.
Problem 1
- don't install sylius/resource v0.19.0|don't install sylius/sylius v1.0.0-beta.2
- don't install sylius/resource v0.19.0|remove sylius/sylius v1.0.0-beta.2
- don't install sylius/resource v0.19.0|don't install sylius/sylius v1.0.0-beta.2
- sylius/metadata v0.19.0 requires sylius/resource ^0.19 -> satisfiable by sylius/resource[v0.19.0].
- sylius/metadata-bundle v0.19.0 requires sylius/metadata ^0.19 -> satisfiable by sylius/metadata[v0.19.0].
- Installation request for sylius/metadata-bundle ^0.19.0 -> satisfiable by sylius/metadata-bundle[v0.19.0].
- Installation request for sylius/sylius (locked at v1.0.0-beta.2, required as ^1.0#beta) -> satisfiable by sylius/sylius[v1.0.0-beta.2].
Installation failed, reverting ./composer.json to its original content.
How can I install it ?
Related
composer require designmynight/laravel-mongodb-passport --ignore-platform-reqs
Using version ^2.0 for designmynight/laravel-mongodb-passport
./composer.json has been updated
Running composer update designmynight/laravel-mongodb-passport
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- designmynight/laravel-mongodb-passport[v2.0.0, ..., v2.0.1] require illuminate/support ^5.5 || ^6.0 -> found illuminate/support[v5.5.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev] but it conflicts with your root composer.json require (^8.69).
- Root composer.json requires designmynight/laravel-mongodb-passport ^2.0 -> satisfiable by designmynight/laravel-mongodb-passport[v2.0.0, v2.0.1].
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
I am doing my nestjs project.
I recently setup my new macbook pro.
I have Node, Npm, and Yarn installed.
But when I tried to install class-validator and class-transformer package with Npm,
I got a error message :
Unsupported engine. required: { node: '>= 10.13.0', npm: '^6.11.0', yarn: '>= 1.13.0' }, current: { node: 'v15.11.0', npm: '7.6.0' }
But when I type npm -g ls, or yarn --version, yarn is there.
How should I fix it?
Thanks.
The node version seems to be fine because we have in the above case 15.11.0 and the requirement is >= 10.13.0, which means that any version higher than 10.13.0 is fine. (Including higher major versions as well.)
The required npm version is ^6.11.0 and the current version is 7.6.0. The ^ character in the requirement means, that the major version should be identical and the minor and patch version can change to a higher version. (Versioning terms are documented here.)
This means, that the installed npm version should have major version 6, in the above case we have 7. It follows that an npm version should be used that has 6 as major version.
I am trying API authentication in Laravel v6. When i try to install Passport composer require laravel/passport it says
Using version ^10.1 for laravel/passport
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: remove laravel/framework v6.20.7
- Conclusion: don't install laravel/framework v6.20.7
- laravel/passport 10.x-dev requires illuminate/http ^8.2 -> satisfiable by illuminate/http[8.x-dev, v8.10.0, v8.11.0, v8.11.1, v8.11.2, v8.12.0, v8.12.1, v8.12.2, v8.12.3, v8.13.0, v8.14.0, v8.15.0, v8.16.0, v8.16.1, v8.17.0, v8.17.2, v8.18.0, v8.18.1, v8.2.0, v8.3.0, v8.4.0, v8.5.0, v8.6.0, v8.7.0, v8.7.1, v8.8.0, v8.9.0].
- laravel/passport v10.1.0 requires illuminate/http ^8.2 -> satisfiable by illuminate/http[8.x-dev, v8.10.0, v8.11.0, v8.11.1, v8.11.2, v8.12.0, v8.12.1, v8.12.2, v8.12.3, v8.13.0, v8.14.0, v8.15.0, v8.16.0, v8.16.1, v8.17.0, v8.17.2, v8.18.0, v8.18.1, v8.2.0, v8.3.0, v8.4.0, v8.5.0, v8.6.0, v8.7.0, v8.7.1, v8.8.0, v8.9.0].
- don't install illuminate/http 8.x-dev|don't install laravel/framework v6.20.7
- don't install illuminate/http v8.10.0|don't install laravel/framework v6.20.7
- don't install illuminate/http v8.11.0|don't install laravel/framework v6.20.7
- don't install illuminate/http v8.9.0|don't install laravel/framework v6.20.7
- Installation request for laravel/framework (locked at v6.20.7, required as ^6.20) -> satisfiable by laravel/framework[v6.20.7].
- Installation request for laravel/passport ^10.1 -> satisfiable by laravel/passport[10.x-dev, v10.1.0].
Installation failed, reverting ./composer.json to its original content.
I've searched so many related questions but none of them are helpful for me
I no longer find iisnode-verdaccio on npmjs when following the instructions of Installing on IIS for Verdaccio. Any ideas?
for install the verdaccio on iis. follow this stages:
install node.js. (e.g: version 12.14.0)
install python with powersell.
run this command
npm i -g --production windows-build-tools
then run
npm i -g node-gyp
Get the Python.exe file path.
default path: C:\Users\xxx\.windows-build-tools\python27\python.exe
Add a new Environment Variable with name PYTHON and value: C:\Users\xxx\windows-build-tools\python27.
if visual studio is installed go to next stage. else install Descktop development with c++ from vs setup.
install verdaccio (e.g: version 4.4.0)
npm i -g verdaccio#4.4.0
install iisnode (e.g: version 0.2.21).
install ApplicationRequestRouting (e.g: v3.0).
copy web.config , package.json, start.js from this
finaly, reset iis and enjoy.
more info
I hope is useful.
I want to install JUI Extension for Yii 2, but composer reports me the following issues:
Your requirements could not be resolved to an installable set of packages.
- yiisoft/yii2-jui 2.0.4 requires bower-asset/jquery-ui 1.11.*#stable -> no matching package found.
- yiisoft/yii2-jui 2.0.3 requires bower-asset/jquery-ui 1.11.*#stable -> no matching package found.
- yiisoft/yii2-jui 2.0.2 requires bower-asset/jquery-ui 1.11.*#stable -> no matching package found.
- yiisoft/yii2-jui 2.0.1 requires bower-asset/jquery-ui 1.11.*#stable -> no matching package found.
- yiisoft/yii2-jui 2.0.0 requires bower-asset/jquery-ui 1.11.*#stable -> no matching package found.
- Installation request for yiisoft/yii2-jui ^2.0 -> satisfiable by yiisoft/yii2-jui[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4].
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://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
What I can do in order to fix this?
Finally I found the solution:
If you want to install the JUI extension for Yii2, you should do the following steps:
Run the following composer command: php composer.phar require "fxp/composer-asset-plugin:~1.0"
Run php composer.phar update
Run php composer.phar require --prefer-dist yiisoft/yii2-jui
I had the same problem while I was trying to install Kartik's extension for Yii2 framework. Adding "fxp/composer-asset-plugin": "*" to the require section of my composer.json file solved it.
Need to install the Composer Asset Plugin first:
composer global require "fxp/composer-asset-plugin:~1.0"
This one worked for me