HI @kimkim, unfortunately, socketcan
is only supported in a Linux OS environment. One option you have is to download VirtualBox and install an Ubuntu 16.04
or Ubuntu 18.04
image. This way you can run a Linux virtual machine inside your Windows 10 operating system. When you start your virtual machine, make sure you enable USB ports to be available, so they can communicate with the Particle Photon over serial.
The reason why Particle CLI works partially is because Particle CLI is based on npm and works on all 3 most popular operating systems (Windows, Mac OS, and Linux). If you try everything within the VirtualBox machine it should work.
Hope this helps