Sammyjo20 / lasso

🐎 Lasso is a Laravel package created to make your deployments blazing fast.
MIT License
341 stars 16 forks source link

FileExistsException when Uploading asset bundle to "s3" filesystem #62

Closed dovid closed 2 years ago

dovid commented 2 years ago

I have a feeling the recent update to 2.0.2 is causing the below error during publishing to s3. I'm on Laravel 8.

Uploading asset bundle to "s3" filesystem...

Illuminate\Contracts\Filesystem\FileExistsException 

File already exists at path: [path to file]/lasso-bundle.json

I rolled back to 2.0.1 and the error is gone.

Sammyjo20 commented 2 years ago

Ah... Okay, I thought that maybe this could happen with writeStream, apologies I will try and get this sorted ASAP.

Sammyjo20 commented 2 years ago

This should be fixed now, please upgrade to the latest version for Laravel 8 - v2.0.3

dovid commented 2 years ago

I can confirm it's fixed.

Thank You!