CryoSPARC >= 0.2.47 requires gcc >= 4.8 in order to correctly install. If you have an older version of gcc (check with gcc --version) you will get errors during the part of the cryoSPARC installation script that installs npm modules.
To fix the problem, one solution is to locally install gcc >= 4.8 in your own home directory (doesn’t require root/sudo).
There are some instructions here that are good: http://luiarthur.github.io/gccinstall
It’s probably best if you install gcc 4.9 instead of 5.2 as the article suggests.
After installing using those instructions, please completely remove cryosparc (delete the installation folder), then do
export PATH=/path/where/you/installed/gcc/bin:$PATH
then in the same terminal shell, install cryosparc again using the installation command.
Note if you are on an older operating system (SL6, CentOS6, etc) you will also be missing the correct version of glibc (you’ll see an error in cryosparc/run/meteor.stdout that contains indicates GLIBCXX is missing). To fix this issue, one user solved the problem here: https://github.com/cryoem-uoft/cryosparc-issues/issues/62
if you want newer version of gcc on CentOS-6/CentOS-7, the easiest path is to install the centos-release-scl-rh package and yum install devtoolset-*gcc.