Connecting Visual Studio Code to a VM running Raspberry Pi Desktop (Raspbian)

Here is the situation, I have Raspberry Pi Desktop running in a VM and Visual Studio Code on my machine. When I try connect to my Raspberry Pi Desktop using VS Code Remote Development, I receive the error node: not found. When checking the files on the side of the Raspberry Pi Desktop, the node file is there and running the file results in:

$ ./node
-bash: ./node: No such file or directory
Continue reading “Connecting Visual Studio Code to a VM running Raspberry Pi Desktop (Raspbian)”