-
-
Notifications
You must be signed in to change notification settings - Fork 210
Closed
Labels
Description
Describe the bug
I'm creating a deno project with site using deno run -A npm:create-vite-extra and all works fine if I select the TS project. If I select the JS project, I get the following despite the fact that types are installed and configured by default:
TypeError: createRoot is not a function. (In 'createRoot(document.getElementById("root"))', 'createRoot' is undefined)
Reproduction
I can't add bc there's no way to select runtime
Steps to reproduce
deno run -A npm:create-vite-extra with JavaScript project
System Info
System:
OS: macOS 15.0.1
CPU: Unknown
Memory: 48.11 KB / 16.00 GB
Shell: 5.9 - /bin/zsh
Browsers:
Safari: 18.0.1Used Package Manager
npm
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.