-
-
Notifications
You must be signed in to change notification settings - Fork 120
Closed
Description
Describe the bug
When creating a project using the svelte cli (npx sv create my-app
), i get the following error in every .svelte file
Error in svelte.config.js
SyntaxError: The requested module 'node:util' does not provide an export named 'styleText'
This happens both with the minimal setup and the demo project, as well as with or without extensions to the project. I have also tested with different package managers.
Reproduction
The following is a completely new project created using npx sv create my-app
, https://github.com/DenseOriginal/my-app
Logs
System Info
System:
OS: Windows 11 10.0.26100
CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H
Memory: 14.35 GB / 31.68 GB
Binaries:
Node: 24.7.0 - C:\nvm4w\nodejs\node.EXE
npm: 11.5.1 - C:\nvm4w\nodejs\npm.CMD
pnpm: 10.15.1 - C:\nvm4w\nodejs\pnpm.CMD
Browsers:
Edge: Chromium (139.0.3405.125)
Internet Explorer: 11.0.26100.1882
npmPackages:
svelte: ^5.25.0 => 5.38.6
Severity
annoyance
ndri
Metadata
Metadata
Assignees
Labels
No labels