A possible reason for this issue is node version. Check the node version of vs code from the help -> about, and use that version of node in the system. I have faced this issue and after rolling back the node version the issue got resolved.
help -> about