diff --git a/lib/utils/build.js b/lib/utils/build.js index 8b44485..1c82ba3 100644 --- a/lib/utils/build.js +++ b/lib/utils/build.js @@ -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) diff --git a/package.json b/package.json index 1e0a202..b8c06ae 100644 --- a/package.json +++ b/package.json @@ -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",