npm ERR! Unexpected end of JSON input while parsing near '...2.4.8","karma":"~0.10' 如上:我们在终端用npm install 安装依赖时,有时会报上述错误. 解决方法: 清除缓存 npm cache clean --force
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Deepin/stable 网上的答案是修改系统的版本信息/etc/lsb-release DISTRIB_ID=UbuntuDISTRIB_RELEASE=18.04DISTRIB_CODENAME=bionicDISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"这个答