mirror of
https://github.com/HirziDevs/PteroStats
synced 2026-01-09 15:44:01 +00:00
Update index.js
This commit is contained in:
9
index.js
9
index.js
@@ -12,10 +12,11 @@ if (fs.existsSync('./node_modules')) {
|
||||
process.exit()
|
||||
}
|
||||
} else {
|
||||
console.log("You are not installing package first, please wait until Auto Installer complete.")
|
||||
child.execSync("npm i").catch((err) => {
|
||||
console.log("An error detected: ", err)
|
||||
console.log("If you want")
|
||||
console.log('You are not installing package first, please wait until Auto Installer complete.')
|
||||
child.execSync('npm i').catch((err) => {
|
||||
console.log('An error detected: ', err)
|
||||
console.log('Need Support? https://discord.gg/zv6maQRah3')
|
||||
process.exit()
|
||||
})
|
||||
console.log("Auto Installer complete! Please re run this bot!")
|
||||
process.exit()
|
||||
|
||||
Reference in New Issue
Block a user