How to resolve laravel ui in Laravel Framework 7.29.3 - laravel-7

I am currently using laravel 7.29.3 . i want install laravel ui auth using below command
composer require laravel/ui
php artisan ui bootstrap --auth
But its not working getting bellow respectively
Problem 1
- Conclusion: remove laravel/framework v7.29.3
- Conclusion: don't install laravel/framework v7.29.3
- laravel/ui 3.x-dev requires illuminate/filesystem ^8.0 -> satisfiable by illuminate/filesystem[8.x-dev, v8.0.0, v8.0.1, v8.0.2, v8.0.3, v8.0.4, v8.1.0, 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.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/ui v3.1.0 requires illuminate/filesystem ^8.0 -> satisfiable by illuminate/filesystem[8.x-dev, v8.0.0, v8.0.1, v8.0.2, v8.0.3, v8.0.4, v8.1.0, 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.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
ANyone guide how to install laravel UI auth into my current version . Anyone have idea then let me know

may be you should upgrade your laravel application's version to v8.x
OR
you should determine version of laravel/ui package to be satiable with your laravel application's version using this command composer require laravel/ui "^2.1" --dev

composer require laravel/ui:^2.4

You can install the older version of Laravel UI in Laravel 7.x.
composer require laravel/ui:^versionHere
for example,
composer require laravel/ui:^2.4
For more information, you can follow the Laravel Docs. https://laravel.com/docs/7.x/frontend#introduction

Related

Unexpected attribute app_engine_apis error deploying Python 3 App Engine Flask app

I use Google App Engine standard environemment with Flask Python3 for a current project.
This project use as cache the App Engine Memcache (google.appengine.api.memcache).
Currently the cache doesn't work and I think that it's probably because of the dependency on App Engine APIs that need to be enable because when I try to deploy my app (gcloud app deploy) I have this warning: WARNING: There is a dependency on App Engine APIs, but they are not enabled in your app.yaml. Set the app_engine_apis property.
My issue is that when I try to set the dependancy in my app.yaml and deploy, I have then this error: Unexpected attribute 'app_engine_apis' for object of type AppInfoExternal.
I also tried with the exact same yaml file than the Google example: https://github.com/googlecodelabs/migrate-python2-appengine/blob/master/mod12b-memcache/app.yaml, it doesn't work.
Here the current app.yaml that I'm trying to use:
runtime: python39
env: standard
app_engine_apis: true
resources:
cpu: 2
memory_gb: 4
disk_size_gb: 15
manual_scaling:
instances: 2
This issue is almost the same as this question but I couldn't use it to solve my problem: How to deal with `app_engine_apis` warning when updating app.yaml from go114 to go115
Thank you for your help.
Your Google Cloud SDK is outdated. Per the comments in #NoCommandLine's answer, your SDK being version 300 is from Jul 2020 whereas the bundled services for 2nd-gen runtimes like Python 3 didn't go into private preview until Jun 2021. They became generally available in Sep 2021. If you run gcloud components update to get the latest SDK (at the time of this post, it's 410), you should be able to run gcloud app deploy to deploy a Python 3 App Engine app that can access the Memcache bundled service. TL;DR to using bundled services in Python 3:
Add app_engine_apis: true to app.yaml
Add appengine-python-standard to requirements.txt
Import the WSGI wrapper: from google.appengine.api import wrap_wsgi_app
Wrap your WSGI object (Flask): app = Flask(__name__); app.wsgi_app = wrap_wsgi_app(app.wsgi_app)
Review these instructions, esp. if you're not using Flask
Update your Cloud SDK: gcloud components update
NOTE: You no longer need to run pip install -t lib -r requirements.txt to vendor/self-bundle package dependencies... they're now automatically installed for Py3 users (but not Py2 though) when you deploy your app to the cloud.
I recently published a video & codelab (hands-on tutorial) on how to access the bundled services from "Gen2" but realize now I should've mentioned updating your SDK, meaning it covers almost all of the instructions above. :P
For those interested in eventually migrating off Memcache to something more powerful like Redis, I also published content on migrating from Memcache to Cloud Memorystore for Redis, relatively recently as well.
Your version of gcloud probably means the app_engine_apis are in the beta version and so you have to do
gcloud beta app deploy

RoR App: “The asset 'application.css' is not present in the asset pipeline”

Info:
Rails 6.1.4
Ruby 3.0.1
PostgreSQL 9.6
NodeJS 11.15.0
Yarn 1.22.5
when I start my APP I always got the same error:
I've tried all I saw in others posts but I can´t resolve this problem.
Any suggestions?
In config/environments/production.rb I added the following line:
# Do not fallback to assets pipeline if a precompiled asset is missed.
config.assets.compile = true
also I checked the following line:
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
With this configuration I can start my APP.
Did you tried to do the following on the server
RAILS_ENV=production bundle exec rake assets:precompile

Upgrade network configuration after chaincode modification on hyperledger Fabric blockchain

I am working with this blockchain application for medics traceability (https://github.com/rastringer/medication-blockchain) based on hyperledger fabric blockchain.
It's exactly the same app as this project (https://github.com/hyperledger/education/tree/master/LFS171x/fabric-material/tuna-app) except that this project is for tuna traceability.
I modify the chaincode file (the file is "drug-chaincode.go"), and now apparently I need to reconfigure all my network in "basic-network" folder so that the modification is add, but I don't how I can do this.
I tried to follow this link without results (How to upgrade a chaincode after modification?)
Anyhelp is welcome, thank you in advance ;)
if u r trying to build hyperledger project similar to drug-app. Then do following things:
Delete node_modules:
drug-blockchain/drug-app/node_modules
Then change every parameter which states the drug blockchain, basically u have to change parameters to Yours on following sources:
drug-chaincode.go
startFabric.sh
server.js
routes.js
registerUser.js
registerAdmin.js
package.json
controller.js
recordDrug.js
queryDrug.js
queryAllDrug.js
changeDrugHolder.js
app.ja
index.html
In the end re-run the network:
cd drug-blockchain/drug-app
$./startFabric.sh
$npm install -g
$node registerAdmin.js
$node registerUser.js
$node server.js
if u do change parameters properly, it should work fine, otherwise recheck, there shouldn't be any data of previous drug-blockchain!

NodeJS ReactJS deployed app returning a 404

Hopefully someone can help me out as i haven't used NodeJS much. I wanted to demo crawli-io by agustinaliagac, cloned from the below URL https://github.com/agustinaliagac/crawl-io
I've followed the instructions within the readme but i'm getting a 404 when requesting http://localhost:3000/#/results?searchTerm=iPhone
Steps followed below, note i have tried 3A using Docker and without both returning the same result.
1- Clone this repository
git clone https://github.com/agustinaliagac/crawl-io.git
2- Install dependencies
cd crawl-io
yarn install:full
3A- Run (without Docker)
yarn start
Or start backend and frontend independently
yarn start:frontend
yarn start:backend
3B- Run (Docker)
yarn start:docker
Initially when i deployed this i had 'undefined' in the URL, i managed to fix this by adding in the localhost to the .env file.
Any help would be greatly appreciated.
enter image description here

Sylius V0.17 How to add payment methods

I installed Sylius via composer create-project -s dev sylius/sylius-standard acme on my local server to take a closer look at it for a upcoming project. Now I'm stuck at adding payment-methods/ a payment-gateway.
I tried to follow the docs and install omnipay-bundle but composer require "sylius/omnipay-bundle" failed with:
Problem 1
- Installation request for sylius/omnipay-bundle ^0.9.0 -> satisfiable by sylius/omnipay-bundle[v0.9.0].
- Conclusion: remove omnipay/omnipay 2.3.2
- Conclusion: don't install omnipay/omnipay 2.3.2
- sylius/omnipay-bundle v0.9.0 requires omnipay/omnipay 1.0.* -> satisfiable by omnipay/omnipay[v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4].
- Can only install one of: omnipay/omnipay[v1.0.0, 2.3.2].
- Can only install one of: omnipay/omnipay[v1.0.1, 2.3.2].
- Can only install one of: omnipay/omnipay[v1.0.2, 2.3.2].
- Can only install one of: omnipay/omnipay[v1.0.3, 2.3.2].
- Can only install one of: omnipay/omnipay[v1.0.4, 2.3.2].
- Installation request for omnipay/omnipay == 2.3.2.0 -> satisfiable by omnipay/omnipay[2.3.2].
Adding the bundle to the appkernel.php anyway and/or adding configuration to config.yml (like described in the docs) prevents the Server from starting.
I found this issue: https://github.com/Sylius/Sylius/issues/4396
which seems related.
Question:
- Should there be some choices other than 'Offline' in 'Payment Methods' in the Admin-Frontend (without adding code to the freshly-pulled sylius)?
- Is Sylius changing so rapidly that the docs are not matching?
- Lets assume I want to add '2checkout' (just as exampl) as payment gateway, what would i have to do?
I have the feeling i missed something fundamental with this problem :)
Thanks for your help in advance!
My Question was answered in the Git-issue 4369
So, the sylius-standard already contains the Symfony2-Bundles.
To add a payment-gateway they just need to be configured in config.yml:
payum:
gateways:
paypal_express_checkout:
paypal_express_checkout_nvp:
username: %paypal.express_checkout.username%
password: %paypal.express_checkout.password%
signature: %paypal.express_checkout.signature%
sandbox: %paypal.express_checkout.sandbox%
klarna_checkout:
klarna_checkout:
secret: 'required'
merchant_id: 'required'
sandbox: true
sylius_payment:
gateways:
paypal_express_checkout: Paypal Express Checkout
klarna_checkout: Klarna Checkout
Additional configuration reference can be found here:
https://github.com/Payum/PayumBundle/blob/master/Resources/doc/configuration_reference.md
Thanks!
PS: The cache has to be cleared before restarting the server.

Resources