jaesung2061/anvel

Page loads forever

Closed this issue · 9 comments

I have just finished installing this. After I executed npm start, it redirected me to localhost:3000, but that page kept loading and finally gave error:
The localhost page isn’t working. localhost didn’t send any data.

The web server was already running and I could run the other applications there. What should I check here?

Are you running php artisan serve? Check what port it's running on when you
execute the command.

On Friday, June 24, 2016, re1naldo notifications@github.com wrote:

I have just finished installing this. When I executed npm start, it
redirected me to localhost:3000, but that page kept loading and finally
gave error:
The localhost page isn’t working. localhost didn’t send any data.

The web server was already running and I could run the other applications
there. What should I check here?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#5, or mute the thread
https://github.com/notifications/unsubscribe/AH7GUnF_KpwqPgjo2nNqN9VNqcMVLBRQks5qPNCdgaJpZM4I-SMr
.

Running php artisan serve would give an error:
PHP Parse error: syntax error, unexpected '.', expecting ',' or ';' in /var/www/html/anvel/bootstrap/app.php on line 3

The port seemed to be correct, no?

[BS] Proxying: http://localhost:8000
Local: http://localhost:3000
External: http://10.193.203.31:3000
UI: http://localhost:3001
UI External: http://10.193.203.31:3001

Can you copy and paste line three of bootstrap/app.php?

const APP_ROOT = __DIR__.'/../';

I haven't made any changes to the original files.

What version of php are you using?

On Saturday, June 25, 2016, re1naldo notifications@github.com wrote:

const APP_ROOT = DIR.'/../';

I haven't made any changes to the original files.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#5 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AH7GUg9LUdmVLzHygFJpYvrRCVshxUWrks5qPNSBgaJpZM4I-SMr
.

5.5.9-1ubuntu4.17

Try upgrading your php version.

On Saturday, June 25, 2016, re1naldo notifications@github.com wrote:

5.5.9-1ubuntu4.17


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#5 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AH7GUh_vKqpGbYUkm-bErSKgO8Zu2mi6ks5qPNdtgaJpZM4I-SMr
.

npm start still gave the same result after upgrading PHP, but I can use php artisan serve now. Thanks for your support.

I'm having this issue with php 6.25. Access via :8000 and :3001 both working, but :3000 keeps loading. Everything else seems to be working fine, except for browsersync.

UPDATE:
Looks like ive finally got it to work using 127.0.0.1 instead of localhost both in .env and php artisan serve --host:127.0.0.1