mirror of
https://github.com/EvolutionAPI/evolution-manager.git
synced 2025-07-16 12:12:56 -06:00
fix: vite version install
This commit is contained in:
parent
c66cd1ad7a
commit
217cab0e5f
@ -38,7 +38,7 @@ const verifyViteInstallation = () => {
|
|||||||
if (!err) return resolve()
|
if (!err) return resolve()
|
||||||
|
|
||||||
console.log('🚨 Vite not installed, trying to install it')
|
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) {
|
if (err) {
|
||||||
console.log('🚨 Vite installation failed')
|
console.log('🚨 Vite installation failed')
|
||||||
reject(err)
|
reject(err)
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "evolution-manager",
|
"name": "evolution-manager",
|
||||||
"version": "0.3.1",
|
"version": "0.3.2",
|
||||||
"main": "dist",
|
"main": "dist",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=16.0.0"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
|
Loading…
Reference in New Issue
Block a user