yo icon indicating copy to clipboard operation
yo copied to clipboard

store: true isn't working in WSL2, but it works on macOS

Open jazimabbas opened this issue 7 months ago • 1 comments

I'm using the following prompt configuration in my project:

{
  type: "input",
  name: "author",
  message: "Author name?",
  store: true,
}

The store: true option works perfectly on macOS — it saves the value globally as expected. However, when I run the same code in WSL2, it doesn't save the value at all.

Has anyone experienced this issue or know why store: true might not be working under WSL2? Any guidance would be appreciated!

jazimabbas avatar Jul 21 '25 07:07 jazimabbas

👋 @jazimabbas sorry for the delay! It's hard to help without more information - could you please post a reproduction we can clone locally on our WSL2 environment? https://antfu.me/posts/why-reproductions-are-required

JoshuaKGoldberg avatar Nov 05 '25 14:11 JoshuaKGoldberg