This post arise on Google when I have same issue. Fortunately I have solve this issue accidentally 🙂
If you use aaPanel Node.js Version Manager, then set Command Line Version to "Not Set" then set again to your desire version, so aaPanel recreate the path.