Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running the create-discord-bot with deno causes an error #9810

Open
jaw0r3k opened this issue Aug 28, 2023 · 6 comments
Open

Running the create-discord-bot with deno causes an error #9810

jaw0r3k opened this issue Aug 28, 2023 · 6 comments

Comments

@jaw0r3k
Copy link
Contributor

jaw0r3k commented Aug 28, 2023

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

7157748 (Latest)

@jaw0r3k jaw0r3k changed the title Running the built create script with deno throws an error Running the create-discord-bot with deno causes an error Aug 28, 2023
@didinele
Copy link
Member

Does this still happen?

@jaw0r3k
Copy link
Contributor Author

jaw0r3k commented Jan 22, 2024

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
Copy link
Contributor Author

jaw0r3k commented Jan 22, 2024

Well this works
image

@didinele
Copy link
Member

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

@Jiralite
Copy link
Member

Does 1.40.4 still have this issue, as denoland/deno#22263 was a part of it?

@jaw0r3k
Copy link
Contributor Author

jaw0r3k commented Feb 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants