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)