You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default with a fresh Laravel app running on Vapor, it's not possible to view Telescope at all. The "Telescope assets are not published" exception is always thrown, because it checks public_path('vendor/telescope/mix-manifest.json') which doesn't exist on the lambda runner. Telescope can load its assets normally from S3/Cloudfront where Vapor uploads them, but it's impossible to get to that point because of the exception being thrown.
It is possible to work around this by adding php artisan telescope:publish to Vapor's build hooks and including all of Telescope's assets in the build artifact, but this adds about 1.5MB to the build and is redundant since the assets are also always uploaded to S3/Cloudfront.
Steps To Reproduce:
New Laravel app, install Telescope, deploy to Vapor, see the "Telescope assets are not published" exception if you try to view Telescope on Vapor.
The text was updated successfully, but these errors were encountered:
Description:
By default with a fresh Laravel app running on Vapor, it's not possible to view Telescope at all. The "Telescope assets are not published" exception is always thrown, because it checks
public_path('vendor/telescope/mix-manifest.json')
which doesn't exist on the lambda runner. Telescope can load its assets normally from S3/Cloudfront where Vapor uploads them, but it's impossible to get to that point because of the exception being thrown.It is possible to work around this by adding
php artisan telescope:publish
to Vapor's build hooks and including all of Telescope's assets in the build artifact, but this adds about 1.5MB to the build and is redundant since the assets are also always uploaded to S3/Cloudfront.Steps To Reproduce:
New Laravel app, install Telescope, deploy to Vapor, see the "Telescope assets are not published" exception if you try to view Telescope on Vapor.
The text was updated successfully, but these errors were encountered: