Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class 'RealRashid\SweetAlert\SweetAlertServiceProvider' not found #114

Closed
lavecart opened this issue Feb 6, 2021 · 11 comments
Closed

Class 'RealRashid\SweetAlert\SweetAlertServiceProvider' not found #114

lavecart opened this issue Feb 6, 2021 · 11 comments

Comments

@lavecart
Copy link

lavecart commented Feb 6, 2021

In live server giving this error:

Class 'RealRashid\SweetAlert\SweetAlertServiceProvider' not found

I have added all of realrashid folder in vendor. Added

RealRashid\SweetAlert\SweetAlertServiceProvider::class,

in app.php file. Also added Alert alias as the documentation guide me.

Uploaded sweetalert.php in config folder.

All are working in localhost but not in live cpanel server. What could be the problem?

@realrashid
Copy link
Owner

Hey @lavecart ,

First of all sorry for replying late.

Have you published package assets?

If not then run below command.

php artisan sweetalert:publish

If the issue still exist then the below commands too.

php artisan cache:clear 
php artisan config:clear 

Hope that will help. 👍

@haris365
Copy link

haris365 commented Mar 31, 2021

Class 'RealRashid\SweetAlert\SweetAlertServiceProvider' not found

i have added all the link in the particular file , but same error

i have also run the composer dumpautoload as well but nothing happened ,

pelase help

@realrashid pelase have a look

@zibavar
Copy link

zibavar commented Jan 31, 2023

In live server giving this error:

Class 'RealRashid\SweetAlert\SweetAlertServiceProvider' not found

I have added all of realrashid folder in vendor. Added

RealRashid\SweetAlert\SweetAlertServiceProvider::class,

in app.php file. Also added Alert alias as the documentation guide me.

Uploaded sweetalert.php in config folder.

All are working in localhost but not in live cpanel server. What could be the problem?

did is it solve ?

@realrashid
Copy link
Owner

realrashid commented Jan 31, 2023 via email

@zibavar
Copy link

zibavar commented Jan 31, 2023

All are working in localhost but not in live cpanel server. What could be the problem?

@zibavar
Copy link

zibavar commented Jan 31, 2023

Class 'RealRashid\SweetAlert\SweetAlertServiceProvider' not found

@zibavar
Copy link

zibavar commented Jan 31, 2023

my server is linux and i dont have terminal in cpanel for ->php artisan sweetalert:publish

@realrashid
Copy link
Owner

realrashid commented Feb 2, 2023 via email

@ivke013
Copy link

ivke013 commented Apr 10, 2023

The some problem on live server!!!

@realrashid
Copy link
Owner

realrashid commented Apr 10, 2023 via email

@vamshikrishnaakula
Copy link

Class "RealRashid\SweetAlert\SweetAlertServiceProvider" not found

for me it working in local but not in test environment,
when i checkout it to develop also it working fine in local,i have tried all even edited composer.json file also,can you please anyone help to clear this thankyou

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants