Nightbot App Beta AutoDJ JavaScript Errors

Asked Jul 19, 2021·1 reply·Last activity 5 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

While using AutoDJ, I am constantly getting multiple Javascript error popups before and after each and every song.

The most detailed one I've noticed so far has said this:

A JavaScript error occurred in the main process

Uncaught Exception:
ReferenceError: API is not defined
at
C:\Users\(My Username)\AppData\Local\Programs\Nightbot\resources\app.asar\js\files.js:128:7
at fs.js:1347:7
at FSReqCallback.oncomplete (fs.js:160:23)

I only just recently reinstall the app on my new computer, and am quite confused right now, please help.

1 reply

This error is generally the cause of your antivirus quarantining the files Nightbot's app needs to run. Try adding an exception to your anti virus for our app, or disabling it. Then, try reinstalling.