Error while running php artisan preset react - php

Why i'm getting error while running php artisan preset react in my console. I'm working in my online enrollment system and i wanna use laravel and react. But i got stuck in this problem and i dont know about this error.

Related

How to run laravel websocket on heroku

Im making a simple real-time chat system in laravel and i want it to deploy on heroku. But when i do heroku run php artisan websockets:serve it gets me some error. Is this the correct way to do it?
Here is the console
Its currently not possible as stated here:
https://help.heroku.com/8R7OO0ZV/can-i-run-a-websockets-server-using-php-on-heroku

PHP Laravel: Any sort of package or way to active live log while doing php artisan serve

I've been working in ruby/rails for a while now and just recently switched up to PHP Laravel for my new work position.
In rails, when I would run my server it would show me very useful things such as: which route is getting hit, what queries ran for that controller and so on.
On Laravel when when I run a server all it says
Laravel development server started: <http://127.0.0.1:8000>
and it just sits there.
Is there some composer package or something I don't know about that I have to switch on in the config to show some kind of relevant information while routes are being hit???
I've been googling up 'laravel live log' and stumbled across this package
https://packagist.org/packages/mic/log-like-rails
But I can't seem to install it correctly.
Laravel Framework 5.6.22
PHP 7.1.18-1+ubuntu16.04.1+deb.sury.org+1

php artisan serve does not showing any output

I am trying to run a laravel project . But php artisan serve does not showing any output.
But other projects are running fine. Please help.

php artisan up command not working in laravel?

I have this very strange problem in laravel. I successfully put my website into maintenance mode via artisan by this command:
php artisan down
But now i have to put my website back into live mode.I tried:
php artisan up
However, the site isn't going live even though i get success message? Have you guys ever faced this issue?
Whats the fix?
I'm on :
1. Macbook pro Mamp
2. Laravel 5.1
Thanks
artisan up command simply deletes storage/framework/down file. Please check if the file exits after you execute the up command. If it still exists, it seems like a file access issue. Whenever you run down/up commands, make sure that you run them as the same user that is running your application.
In order to get the site up and running again, remove the storage/framework/down file manually.

Laravel 4 development server crashing without notice

I am developing an application in Laravel 4 using the built-in development server with a SQLite database. After a recent merge from another user in the project repository, the server will crash after certain requests.
I believe I have narrowed it down to a call of Sentry - when it is used on a request the server will crash out and the command line will exit.
$ php artisan serve
Laravel development server started on http://localhost:8000
Dwight at Dwights-MacBook-Pro.local ~/Sites/tmtbl on master*
$
As you can see, there are no error notices.
I've run composer update and ensured that Sentry is still installed correctly. I'm not sure whether this issue is Sentry specific or something else is going on. Is there something I am missing here that is causing the server to crash?
Do you use Chrome? If yes, go to the console and if you have an error, is it the same as: Failed to load resource when using Auth? Because I have the same problem with the php 5.4 server
You can use the Google Chrome browser to see the errors in the console.
Process
First run: php artisan config:cache
Second run: php artisan serve
Finally: go to your localhost and inspect your page, and then go to the console in the upper tab, you might be able to see the error.
Image of console:
Moreover, you can try:
composer dump-autoload

Categories