getting shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied in different places
After further searching, I ended up finding a working answer here. I needed the --unsafe-perm flag with npm install, which allowed the packages that weren't working to be installed correctly