npm run dev gives vitejs warning
alarbada opened this issue · 2 comments
alarbada commented
The template is for ts-tailwindcss
The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
Mathnerd314 commented
I got it for the js
template too. Fix is to add "type": "module",
to package.json
.