[Building Meshery with WSL2] Error: invalid memory address or nil pointer dereference (solved)

OS: Windows 10
WSL Version: 2
Distro: Ubuntu 24.04

Error:

When running the make server command, I encountered the following error:

Steps Taken:

  • Pulled the latest changes from Meshery and merged them.

Solution:

I realized I missed a crucial step during the setup. Running the following command fixed the error:

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
Restart-Computer
1 Like

Thanks for posting this solution, @sujal.shah! :clap:

1 Like

I wanted to paste links of wsl docs and that slack thread. But I guess it is not allowing me to post links. can you post it ?