npm install,报错:
npm WARN tarball tarball data for has-bigints@https://registry.npmmirror.com/has-bigints/-/has-bigints-1.0.2.tgz (sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6002UJZ2p/bJCEoR3VoQ==) seems to be corrupted. Trying again.
npm WARN tarball tarball data for has-bigints@https://registry.npmmirror.com/has-bigints/-/has-bigints-1.0.2.tgz (sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6002UJZ2p/bJCEoR3VoQ==) seems to be corrupted. Trying again.
原因
package.json有锁定部分版本
解决方法:
删除 package-lock.json
删除打包出的文件目录,比如dist
重新npm install