consola
consola copied to clipboard
Option undefined in Windows
Environment
- Operating System: Windows_NT
- Node Version: v22.17.1
- Nuxt Version: ^2.15.8
- CLI Version: 3.27.0
- Nitro Version: -
- Package Manager: [email protected]
- Builder: -
- User Config: -
- Runtime Modules: -
- Build Modules: -
Reproduction
need help
https://github.com/nuxt/nuxt/issues/32821 https://github.com/nuxt/cli/issues/861
Describe the bug
Run npm create nuxt@latest in the command prompt Now find the undefined values are logged in the console. Follow the installation steps and you can find more undefined issues.
Additional context
No response
Logs
You can reproduce on Windows (Command Prompt only, not PowerShell) with the following reproduction:
import consola from 'consola'
consola.prompt('where would you like to go?')
import consola from 'consola'
consola.prompt('where would you like to go?')