isomorphic-git clone() TypeError: Cannot read property ‘bind’ of undefined

I would like to use isomorphic-git with BrowserFS on Kintone (which does not support module imports). I do not control the script tags but that’s how they are included in the resulting page : Then, I initialize BrowserFS to use the IndexedDB of the browser as its filesystem : Finally, I use dynamic import for the isomorphic-git module: When I try to run a git clone command … I get the following TypeError : Any idea where it is coming from? Answer It was a simple problem of ordering in the script tag imports. The correct order was: I had

(Discord.js) TypeError: Cannot read property ‘add’ of undefined

So here’s the code: When I run the bot, I get the error: As seen on the code, I add the part where the bot would make a role as when the role is unavailable. But still, it thinks as that the role never exist. Before this was copied, I aslo wrote the code like this: And the result is still the same. I also put the bot’s role on the most top list of all roles on my test server. Can anyone find out why? I’m currently using discord.js v12 and stable version of node. Note: full code here: