I need your help...I've basically exhausted all the link proposed by Google :D And nothing help me pinpoint the problem...hence the fix.
If I use the command: npm run dev, I have the following error in the browser console (the page is nonetheless displayed...it just take longer)
The error does not appear with the: npm run build.
I`m using the following .env config
APP_NAME=App
APP_ENV=local
APP_KEY=*censored*
APP_DEBUG=true
APP_URL=https://app.dev
and .vite.config.js
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import vue from '@vitejs/plugin-vue';
export default defineConfig({
plugins: [
laravel({
input: 'resources/js/app.js',
refresh: true,
}),
vue({
template: {
transformAssetUrls: {
base: null,
includeAbsolute: false,
},
},
}),
],
});
Laragon is launched with following environment enter image description here
Thank you !! LN
I saw that it might be due to SSL and that I might need to install a self-serving certificate module...but I did not see clear instructions so for now I have not try this piste