discord.js icon indicating copy to clipboard operation
discord.js copied to clipboard

Running the create-discord-bot with `deno` causes an error

Open jaw0r3k opened this issue 1 year ago • 6 comments

Which package is this bug report for?

create-discord-bot

Issue description

  1. Build the create-discord-bot package
  2. Run the dist file with deno image

Code sample

No response

Versions

deno 1.36.2 (release, x86_64-pc-windows-msvc) v8 11.7.439.1 typescript 5.1.6

Issue priority

Medium (should be fixed soon)

Which partials do you have configured?

Not applicable

Which gateway intents are you subscribing to?

Not applicable

I have tested this issue on a development release

7157748fe3a69265896adf0450cd3f37acbcf97b (Latest)

jaw0r3k avatar Aug 28 '23 18:08 jaw0r3k

Does this still happen?

didinele avatar Jan 22 '24 09:01 didinele

Well it shouldnt But it do image But i have installed latest version and promises.cp exists

And the function was added to promises struct https://github.com/littledivy/deno/blob/20bb2c8daaba6b78710a24014828f3db90e4e807/ext/node/polyfills/fs.ts#L141

jaw0r3k avatar Jan 22 '24 18:01 jaw0r3k

Well this works image

jaw0r3k avatar Jan 22 '24 18:01 jaw0r3k

Seems like a deno issue still? Should probably open another one on their end.

didinele avatar Jan 22 '24 18:01 didinele

Does 1.40.4 still have this issue, as https://github.com/denoland/deno/pull/22263 was a part of it?

Jiralite avatar Feb 14 '24 13:02 Jiralite

This error was fixed. But there is another strange one

As the structure is created as: So somehow it got created within Typescript/Javascript folder

jaw0r3k avatar Feb 14 '24 14:02 jaw0r3k

Since this was a Deno issue and not a discord.js issue, I'll be closing this.

This error was fixed. But there is another strange one

As the structure is created as: So somehow it got created within Typescript/Javascript folder

This seems to be because of https://github.com/denoland/deno/issues/24165. We'll see what happens with that issue.

Jiralite avatar Jun 09 '24 17:06 Jiralite