Try running npm install in your project's root directory to install all the required packages. Then run your build script again to see if it works.
Feb 2, 2023
9
Level 2
After git init @vite is not working
Hi everybody! Before I added my project to git everything worked well, after git init @vite(['resources/sass/app.scss', 'resources/js/app.js']) is not working
vite.config.js import { defineConfig } from 'vite'; import laravel from 'laravel-vite-plugin'; import path from 'path'
export default defineConfig({ plugins: [ laravel([ 'resources/js/app.js', 'resources/sass/app.scss', ]), ], resolve: { alias: { '~bootstrap': path.resolve(__dirname, 'node_modules/bootstrap'), } }, });
Please or to participate in this conversation.