Error installing Passport for API auth via Composer package manager in Laravel 6 - laravel-6

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

Related

composer require designmynight/laravel-mongodb-passport not installing in laravel8

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.

tried to install expo as "npm install expo-cli --global" but getting many errors

tried installing using yarn also not worked.. please anyone help me with this..
Your environment has been set up for using Node.js 10.16.1 (x64) and npm.
C:\Windows\System32>npm install expo-cli --global
npm WARN deprecated joi#14.0.4: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated #babel/polyfill#7.4.4: � As of Babel 7.4.0, this
npm WARN deprecated package has been deprecated in favor of directly
npm WARN deprecated including core-js/stable (to polyfill ECMAScript
npm WARN deprecated features) and regenerator-runtime/runtime
npm WARN deprecated (needed to use transpiled generator functions):
npm WARN deprecated
npm WARN deprecated > import "core-js/stable";
npm WARN deprecated > import "regenerator-runtime/runtime";
npm WARN deprecated joi#11.4.0: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated topo#2.0.2: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated hoek#4.2.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated hoek#6.1.3: This module has moved and is now available at #hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated topo#3.0.3: This module has moved and is now available at #hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN tarball tarball data for #expo/traveling-fastlane-darwin#1.9.11 (sha512-nvZSe2FI8cFcv27uosrmjIhfwbuClG+rbMe9OswsdhIVaJkYvF8LN8gIJ/Fsi2S+20GQizxjC11DFq++MOCm+w==) seems to be corrupted. Trying one more time.
Terminate batch job (Y/N)? y
Warning does not cause any problems with your installation. If there is no error, it is installed normally.
I experienced the same problem since yesterday. My solution is to use some of the installation instructions for React Native CLI Quickstart:
install Chocolatey from here. If using windows, run the install instruction from command prompt as Administrator.
Next, if you already have node.js installed, run this line : choco install install python2 jdk8. If not, run choco install -y nodejs.install python2 jdk8. If using windows, run it from command prompt as Administrator.
Run this line : npm install -g react-native-cli
and at last, run that line where you previously stuck : npm install -g expo-cli. This works for me, hopefully works for you.
If you are using mac then follow these steps
go to the home of your terminal and run this cmd
open .npmrc
Check if you have the below line, then remove the below line it and save the file
prefix=/Users/yourname/.nvm/versions/node/v6.11.2
then run
npm install expo-cli --global
expo init my-new-project
These steps solved my issue installing Expo CLI globally.
I hope this help.
Try Installing every dependency listed in that error message
=> npm install -g #hapi/hapi
visit hapi.dev
update the #hapi dependency i just did that now and it has reduced th errors but you will need to find all the errors listed on your own command line

Verdaccio Installing on IIS server: Can not find iisnode-verdaccio on npmjs

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.

sylius/metadata install in sylis beta 2

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 ?

JUI Extension for Yii 2 can not be installed

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