This error occurs usually when name of the PC contains a space. To solve fix it, redefine your npm cache root: npm config set cache "C:Usersmycomputer~1nameAppDataRoaming pm-cache" --global