question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

issue when starting

See original GitHub issue
app.on('ready', () => {
    ^
TypeError: Cannot read properties of undefined (reading 'on')
    at Object.<anonymous> (C:\Users\Tayhay\Desktop\BotClient-0.2.0-alpha\index.js:14:5)
←[90m    at Module._compile (node:internal/modules/cjs/loader:1101:14)←[39m
←[90m    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)←[39m
←[90m    at Module.load (node:internal/modules/cjs/loader:981:32)←[39m
←[90m    at Function.Module._load (node:internal/modules/cjs/loader:822:12)←[39m
←[90m    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)←[39m
←[90m    at node:internal/main/run_main_module:17:47←[39m

any idea why

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
DarkGuy10commented, Nov 25, 2021

@selbstmord you’ll need to enable privileged intents for your bot Do what @voltrare said also, join the support server invite

1reaction
voltrarecommented, Nov 25, 2021

@selbstmord image enable this

Read more comments on GitHub >

github_iconTop Results From Across the Web

Starting Problems? How to Tell If It's the Battery or Alternator
If your vehicle won't start, it's usually caused by a dying or dead battery, loose or corroded connection cables, a bad alternator or...
Read more >
14 Reasons Why Your Car Won't Start (With Fixes) | RepairSmith
1. Dead Battery · 2. Bad Battery Connection · 3. Bad Alternator · 4. Your Car Isn't In Park Or Neutral · 5....
Read more >
Top reasons why your car won't start | The AA
1. Flat, faulty or dead battery. The battery's usually the main culprit behind issues with starting your car. · 2. Starter motor problems...
Read more >
Car Won't Start - Battery, Alternator or Starter?
When your car won't start, how can you tell if it's your battery, alternator or starter? Troubleshoot your problems with our starter check...
Read more >
5 Common Issues of the Starting System that Require Auto ...
5 Common Issues of the Starting System that Require Auto Repair · Failed Ignition Switch · Failed Alternator · Malfunctioning Starter Motor ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found