yo
yo copied to clipboard
store: true isn't working in WSL2, but it works on macOS
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 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