TypeError: Cannot read properties of undefined (reading 'Collection') discord.js - visual-studio-code

im using virtual studio code to make a discord bot and when ever i type in 'node .' into the terminal to start the bot it brings up this message https://i.stack.imgur.com/fffPp.png ive been trying for many hours trying to get this to work but im quite new to this so im not really getting much done.
here is the code that ive got so far https://i.stack.imgur.com/rXVQW.png
just ask if i need to tell you anything else
thanks.

Related

Swiss QR Bill --> Output fpdf

I've been trying to get the whole Swiss QR up and running for months now. Unfortunately, you can't get help anywhere and it's also getting frustrating.
Finally, I would like to call up a PHP file and have a ready payment slip. with the correct information from the customer.
The SwissQR bill and FPDF were installed via the Composer (but would be happier without Composer, if there is someone here who shows me which files I have to copy I would be happier). and now? none of the "example" files work. Outputs like:
Uncaught Error: Class "Fpdf\Fpdf" not found
or
Class "QrBill\PaymentPart\Output\FpdfOutput\FpdfOutput" not found
are generated.
can someone help me?
everything should be easier, but it seems everything is only getting harder. More complicated, more cumbersome.
Thanks

Unexpected Variable Not Defined error

I'm trying to resurrect an older VB6 app and when compiling it throws an error:
Code:
Set mDom = DHTMLMessage.DOM
Error message:
Variable Not Defined
(on DHTMLMessage).
I have searched google and various VB6 sites but cannot understand the issue. Also read a bit about DOM but frankly I am not a solid VB6 guy. As far as I can tell References are correct - I think.
I have checked for missing code but still cannot work out why this error is appearing.

Why is jquery.fileupload-validate raising $.blueimp.fileupload.prototype.options.processQueue.push error?

I am using jquery file upload on a page, and the following error is being raised in the browser console.
TypeError: undefined is not an object (evaluating '$.blueimp.fileupload.prototype.options.processQueue.push')
It appears to be coming from jquery.fileupload-validate.
I have been unable to find much information about this error. From previous experience jquery file upload seems to be very sensitive to the order in which modules are loaded, but again I've been unable to find much in the way of documentation about this.
Has anyone else encountered this error, or can shed some light on load order or other possible causes?
BTW, I am currently loading files in the following order (though have tried others without success)
jquery.fileupload
jquery.fileupload-ui
jquery.fileupload-validate
jquery.fileupload-process
jquery.fileupload-image
jquery.iframe-transport
Try this order:
js/jquery-3.3.1.js
js/jquery.ui.widget.js
js/jquery.iframe-transport.js
js/jquery.fileupload.js
js/jquery.fileupload-process.js
js/jquery.fileupload-image.js
js/jquery.fileupload-validate.js

MongoDB script doesn't seem to execute properly but no error code or exit code

I am a beginner and will try to explain my question as thoroughly as possible, but thank you in advance for your patience.
I am trying to run a script in MongoDB. The script is using Google Geocoding to update Twitter records. When I run the script, I get a message saying (in short) the code will exit when I have reached my daily limit of 2500 records.
My question is: how do I know when the code has exited and, also, if the script executed successfully?
Nothing seems to be happening but I am not getting an error of any kind. Additionally, when I check the log file, it appears to be blank. I have tried to search this several different ways but I'm not sure I'm using the proper lexicon as I am new to this. Any help would be greatly appreciated.

google earth tour error

In the past I had successfully created several Google Earth tours complete with audio and animation. As best I can remember, I looked at one of my tours 2weeks ago? and things were working fine.
But I look at the tours now on both my local machine and my host web server and the google earth tours have disappeared. When I look in firebug at where the code should be, I see the following error:
Failed to process gadget http://code.google.com/apis/kml/embed/tourgadget.xml. Reason: Unable to retrieve spec for... code.google.com/apis/kml/embed/tourgadget.xml. HTTP error 404
I have not changed anything within my code, so am completely at a loss.
Can anyone share what might have happened or what I need to do to get my GEs going again?
My web site is www.kavelookout.com...See www.kavelookout.com/fingers.html for where a tour should be.
UPDATE:
I believe this is the GE tour gadget code I need...
http://www.gmodules.com/ig/creator?synd=open&url=http://code.google.com/apis/kml/embed/tourgadget.xml
but as you can see, clicking on the 'More info...' link takes me to... google.com/ig/directory?synd=open&url=http://…
Does anyone know why GE Gadgets is not working at this time? Or what link I should be using to embed GE Tours? Can anyone confirm that GE Tours are having a problem, or is it me?
Much Thanks,
k
You should notice that the pages you're trying to process are no longer available, so, that's the nature of the error.
Check the link, it sais that the page is not being found, that's why you're getting a 404 error.
So I figured it out.
The embed code that was generated in the past was...
script src="http:// www.gmodules.com/ig/ifr?url=http://code.google.com/apis/kml/embed/tourgadget.xml
I'm not sure why or when it changed, but I found that the GE Tour gadget at this URL...
http://www.gmodules.com/ig/creator?synd=open&url=http://dl.google.com/developers/maps/tourgadget.xml
...now generates this new embed code...notice the differences...
script src="//www.gmodules.com/ig/ifr?url=http://dl.google.com/developers/maps/tourgadget.xml
Again, I'd love to know why things changed, but am happy to know there is an answer.