【求助】Prisma@4.14.1在npmmirror上无法下载
打扰了,更新prisma后,无法下载prisma包 在Prisma@4.14.1中,报not found
Downloading Prisma engines for Node-API for rhel-openssl-1.0.x [ ] 0%
Error: Not Found https://registry.npmmirror.com/-/binary/prisma/all_commits/d9a4c5988f480fa576d43970d5a23641aa77bc9c/rhel-openssl-1.0.x/libquery_engine.so.node.gz
prisma engine下载类型 schema.prisma
generator client {
provider = "prisma-client-js"
output = "./generated/prisma-client-js"
binaryTargets = ["rhel-openssl-1.0.x"]
}
环境变量
PRISMA_ENGINES_MIRROR=https://registry.npmmirror.com/-/binary/prisma
如果移除这个变量,换成默认https://binaries.prisma.sh
则正常,但是这个源被block,你懂得。
但是 Prisma@4.13.0 版本正常,应该是npmirror同步问题,如何解决?
相关问题: https://github.com/cnpm/mirrors/issues/248 https://github.com/prisma/prisma/issues/12662