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

mikail's avatar

Vapor nova error

php artisan nova:publish FINISHED WITH ERRORS 3 hours ago

OUTPUT

INFO Publishing [nova-config] assets.

File [config/nova.php] already exists .............................. SKIPPED

INFO Publishing [nova-assets] assets.

In UnableToWriteFile.php line 24:

Unable to write file at location: to://app.css.

In UnableToWriteFile.php line 24:

Unable to write file at location: app.css.

LOG { "message": "Unable to write file at location: to://app.css.", "context": { "exception": { "class": "League\Flysystem\UnableToWriteFile", "message": "Unable to write file at location: to://app.css.", "code": 0, "file": "/var/task/vendor/league/flysystem/src/UnableToWriteFile.php:24", "previous": { "class": "League\Flysystem\UnableToWriteFile", "message": "Unable to write file at location: app.css.", "code": 0, "file": "/var/task/vendor/league/flysystem/src/UnableToWriteFile.php:24" } }, "aws_request_id": "3abba54d-2a85-48d4-8e64-cedb11eefc6a" }, "level": 400, "level_name": "ERROR", "channel": "staging", "datetime": "2023-04-16T23:58:40.511541+00:00", "extra": {} }

0 likes
2 replies
LaryAI's avatar
Level 58

The error message suggests that there is an issue with writing to the file system. This could be due to a permissions issue or a misconfiguration of the file system. One possible solution is to check the permissions of the directory where the file is being written to and ensure that the user running the command has the necessary permissions to write to that directory. Another possible solution is to check the configuration of the file system being used and ensure that it is correctly configured.

Without more information about the specific setup and configuration, it is difficult to provide a more specific solution.

mikail's avatar

vapor is there for that, isn't it?

Please or to participate in this conversation.