npm install --legacy-peer-deps
2024-04-30npm install xxxx --legacy-peer-deps命令用于绕过peerDependency里依赖的自动安装;它告诉npm忽略项目中引入的各个依赖模块之间依赖相同但版本不同的问题,以npm v4-v6的方式去继续执行安装操作(默认使用npm 4-6版本的安装模式,安装过程中会跳过对等依赖项。执行npm install --legacy-peer-deps依赖对等。_npm install --legacy-peer-deps
npm淘宝镜像registry.npmmirror.com设置无效的解决办法
2024-04-30本文记录由package-lock.json引起的npm淘宝镜像registry.npmmirror.com设置无效的解决办法_淘宝镜像地址在终端修改不了
解决echarts 在缩放中模糊的问题
2024-04-301、使用方式一 { renderer : ‘svg’} 可以解决放大文字模糊的问题,但如果使用domtoimg插件截图,dom显示正常的情况下,截出的图片会出现文字放大、tooltip文字重叠的问题。2、使用方式二不会出现放大问题,但截图结果比dom显示的文字要模糊,只能将devicePixelRatio设置调大来处理,但显示效果没有renderer : 'svg’好,肉眼可见的感觉有锯齿。在我们的示例中,legent字体设置的是10px,外部通过scale实现放大1.25倍,最终得到字体12px的效果。_echarts文字模糊
npm报错:request to httpsregistry.npm.taobao.org failed, reason certificate has expired
2024-04-29其实,早在 2021 年,淘宝就发文称,npm 淘宝镜像已经从 registry.npm.taobao.org 切换到了 registry.npmmirror.com。旧域名也将于 2022 年 5 月 31 日停止服务(不过,直到今天 HTTPS 证书到期才真正不能用了),查看 registry 已经被更改为默认的 npm 公共镜像地址。错误提示已经告诉原因是淘宝镜像过期了!然后就可以正常使用npm啦~_npm failed, reason: certificate has expired
CSS3DRenderer, CSS3DObject, OrthographicCamera API 结合使用案例
2024-04-29本内容来源于小豆包,想要更多内容请跳转小豆包 》_three.mathutils.deg2rad
解决npm证书验证问题
2024-04-29npm ERR! code CERT_HAS_EXPIRED npm ERR! errno CERT_HAS_EXPIRED npm ERR! request to https://registry.npm.taobao.org/codemirror failed, reason: certificate has expired_npm 忽略证书
error Couldn‘t find package “fsevents@~2.3.2“ required by “chokidar@^3.5.3“ on the “npm“ registry.
2024-04-29解决办法:运行下面命令。_couldn't find package "fsevents@~2.3.2" required by "chokidar@^3.5.3" on the
npm下载慢、淘宝镜像源无效问题:npm ERR! code FETCH_ERRO、Rinvalid json response body at https://registry.npmjs.org
2024-04-29npm下载慢、淘宝镜像源无效问题:npm install webpack -gnpm ERR! code FETCH_ERROR、invalid json response body at https//在使用npm命令的下载其他东西时候,很慢,卡很久。而且下载的淘宝源也没有生效.查看了npm的下载源发现还是npm官方的,npm源在国外,下载就很慢。没有切换成淘宝源的。所以这里要下载淘宝源并确保当前的源切换成了淘宝源了。_npm err! code fetch_error npm err! errno fetch_error npm err! invalid json r
pnpm install 报错 https://registry.npm.taobao.org/pnpm failed: certificate has expired 证书过期解决方案
2024-04-29ERR_PNPM_META_FETCH_FAIL GET https://registry.npm.taobao.org/pnpm: request to https://registry.npm.taobao.org/pnpm failed, reason: certificate has expired_pnpm certificate has expired
成功解决 npm ERR! ERESOLVE could not resolve
2024-04-29执行下面装包语句。 npm i --legacy-peer-deps_eresolve could not resolve