fix: vite version install

This commit is contained in:
Gabriel Pastori 2023-11-19 16:43:45 -03:00
parent c66cd1ad7a
commit 217cab0e5f
2 changed files with 5 additions and 2 deletions

View File

@ -38,7 +38,7 @@ const verifyViteInstallation = () => {
if (!err) return resolve()
console.log('🚨 Vite not installed, trying to install it')
exec(`npm install -g vite`, (err) => {
exec(`npm install -g vite@^4.2.0`, (err) => {
if (err) {
console.log('🚨 Vite installation failed')
reject(err)

View File

@ -1,7 +1,10 @@
{
"name": "evolution-manager",
"version": "0.3.1",
"version": "0.3.2",
"main": "dist",
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"dev": "vite",
"build": "vite build",