consola icon indicating copy to clipboard operation
consola copied to clipboard

Option undefined in Windows

Open gewisser opened this issue 5 months ago • 2 comments

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


gewisser avatar Jul 30 '25 15:07 gewisser

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?')
Image

danielroe avatar Aug 09 '25 14:08 danielroe

import consola from 'consola'

consola.prompt('where would you like to go?')
Image

gewisser avatar Aug 19 '25 12:08 gewisser