Nothing Special   »   [go: up one dir, main page]

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

Deno support #29939

Open
2 of 4 tasks
BlueskyFR opened this issue Nov 15, 2024 · 4 comments
Open
2 of 4 tasks

Deno support #29939

BlueskyFR opened this issue Nov 15, 2024 · 4 comments

Comments

@BlueskyFR
Copy link

Describe the feature

Hi! It would be super nice to be able to develop with/install Nuxt using Deno, as the only listed options so far are npm, pnpm, yarn & bun 😊

Additional information

  • Would you be willing to help implement this feature?
  • Could this feature be implemented as a module?

Final checks

@typed-sigterm
Copy link
Contributor

Do you mean add Deno starter to docs? Nuxt is compatible with Deno.

@web-dev-sam
Copy link

He probably meant Nuxi package manager options when creating a new project. When selecting npm and then trying to run deno task build it throws these errors a bunch:
Image

@BlueskyFR
Copy link
Author

Yes I meant that! And also to use deno instead of npm to install dependencies, so to add abother option "deno" alongside bun, nom, yarn and others.
Because I don't want to have to install npm if I already have deno.
And I am getting the same error yes!

@web-dev-sam
Copy link

After some source code delving I found out you can build nuxt using Deno by adding nitro: { preset: 'deno' } to your nuxt config. However I did not find a way to make it work for the development server so that it works. I assume that there isn't support for that yet. The issue could be related to some fs.stat or fs.statSync not receiving proper arguments (deno-node polyfill). But since the stacktrace is too small I don't know much more.

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