Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

aprakarsa's avatar

Problem when fresh install with --auth

run this >> laravel new tweety --auth

and get this error:

In CurlFactory.php line 201:

cURL error 18: transfer closed with 6257 bytes remaining to read (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

Anybody can help what is going on? Try to google it, still not solving the problem.. :-(

0 likes
4 replies
jlrdw's avatar

You may want to create a project first, then run:

php artisan ui vue --auth
aprakarsa's avatar

With this, i got no problem. It will works with no error.

The problem when I run:

laravel new project_name --auth

jlrdw's avatar

Have you checked issues on Github? Maybe someone else has reported the problem already.

Please or to participate in this conversation.