I'm working my way through errors one at a time in my project... Developing using a Laravel 10 +Octane +Precognition/Vue3/Vite/Inertia +SSR stack, and just got Laravel Octane to work in production with the rest of my app and have been trying to track down a bug in my app, which I believe is related to axios... I just added axios to my vite.config.ts's ssr.noExternals array, and now I finally get the following error when trying to spin up Inertia SSR (using php artisan inertia:ssr-start):
let axiosClient = axios.create();
^
ReferenceError: Cannot access 'axios' before initialization
Anyone encountered this error before and know how to mitigate it?
It could possibly be triggered from the laravel-precognition package...