I am having an issue with Vite that I have never seen before and need some help.
I have a project with two folders, Backend and Frontend, Backend folder works fine, the problem is with the Frontend folder.
I have Vite with React and Tailwind and I have configured the Frontend project for Docker, to be able to create an image and I have done it correctly, it works, the problem that I have now is when I try to run the Frontend project on my laptop, I can not, it automatically stops.
Here is an image to explain it:
The problem is when I type npm run dev
is automatically killed, but I do not know why.
I checked my ram and CPU and is only at 40% of usage, I also restart my computer.
Here is my vite.config.js
file
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
host: '0.0.0.0',
port: 3000,
},
assetsInclude: ['**/*.html']
})
Does anyone have an idea what could happen?