My Bot Won't Start, Due to Script or Syntax Error, CAN YOU HELP?

Error Is This

Script: C:\Users\ABCD\Desktop\form\index.js
Row: 1
Car: 1
Error: Syntax Error
Code: 800A03EA
Source: Microsoft JScript Compilation Error

What is the Error?, This is the First Line of the Index.js File

const { Client, GatewayIntentBits } = require('discord.js')

Windows Script Host 05_01_2024 05_45_55

1 Like

You are running it with “Microsoft JScript”.

An normal .js program runs with node.js.

Try running an terminal in your project, and enter this:


I hope that should help.

1 Like