npm安装遇到问题 Cannot set properties of null (setting 'peer') 记录 问题如下 解决问题: 删除目录下的node_modules,然后重新执行npm install 就能继续安装pnpm了,之后执行pnpm init