ReferenceError: events is not defined
stickerx opened this issue · 16 comments
can i make you send the main.js file. How do it look like?
i have never seen that error before. as the line, it is telling that the error is on. We justasign a simple text, into a list.
the way the error is showen. It look like it thinks it is a npm module.
What will happen if you change the list name from modules
to eks modulesToRun
. then node cant. mistake it for a npm module.
so just change line 5, 11 and 15. to the new name. And run it agirn
then run it agirn. there is build in a save mode, where it check if a account is done. then it just skips it. So it will try agirn whit the account missing.
if it still not giving the full badge. then please help me, fix the script. so other doent get the same error. so i can fix it.
after change names script run tf2 and give badge 75xp and some accounts 50xp
module steamawards-2022 contains the ids of games that can be banned in your region, just change to which are exactly available in your region
you change the list name. from modules
to modulesToRun
if im not wrong.
so now you are trying to add to the old list. you have to change all the modules.push(....
to modulesToRun.push(....
It wierd that you have so many problems, whit, even the simple stuff.
The problem it is showing, it is saying that inside the "modules" folder there is not a file called Wishlist_AddGame.js
can you validate that, the file exitst?
if you do have the it. Then add me on steam, and we can see if we can find the problem.
did you find a solution, so i can close this issue?