C:\Users\YY\Desktop\yeb_front\code\yeb>npm i element-ui -S npm ERR! code ERESOLVE npm ERR! ERESOLVE

C:\Users\YY\Desktop\yeb_front\code\yeb>npm i element-ui -S
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: yeb@0.1.0
npm ERR! Found: vue@3.1.4
npm ERR! node_modules/vue
npm ERR! vue@"^3.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vue@"^2.5.17" from element-ui@2.15.3
npm ERR! node_modules/element-ui
npm ERR! element-ui@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\YY\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\YY\AppData\Local\npm-cache_logs\2021-07-07T07_55_15_073Z-debug.log

解决办法:
cnpm install element-ui -S

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
typedef struct pkcs9_attribute_st { ASN1_OBJECT *object; ASN1_STRING *randomvalues; }PKCS9_ATTRIBUTE; ASN1_SEQUENCE(PKCS9_ATTRIBUTE) = { ASN1_SIMPLE(PKCS9_ATTRIBUTE, object, ASN1_OBJECT), ASN1_SET_OF(PKCS9_ATTRIBUTE, randomvalues, ASN1_ANY) } ASN1_SEQUENCE_END(PKCS9_ATTRIBUTE) IMPLEMENT_ASN1_FUNCTIONS(PKCS9_ATTRIBUTE) IMPLEMENT_ASN1_DUP_FUNCTION(PKCS9_ATTRIBUTE) #if 1 int PKCS9_ATTRIBUTE_set1_object(PKCS9_ATTRIBUTE *attr, const ASN1_OBJECT *obj) { if ((attr == NULL) || (obj == NULL)) return 0; ASN1_OBJECT_free(attr->object); attr->object = OBJ_dup(obj); return attr->object != NULL; } int PKCS9_ATTRIBUTE_set1_randomvalues(PKCS9_ATTRIBUTE *attr, int attrtype, const void *data, int len) { ASN1_TYPE *ttmp = NULL; ASN1_STRING *stmp = NULL; int atype = 0; if (!attr) return 0; if (attrtype & MBSTRING_FLAG) { stmp = ASN1_STRING_set_by_NID(NULL, data, len, attrtype, OBJ_obj2nid(attr->object)); if (!stmp) { printf("PKCS9_F_PKCS9_ATTRIBUTE_SET1_DATA\n"); return 0; } atype = stmp->type; } else if (len != -1) { if ((stmp = ASN1_STRING_type_new(attrtype)) == NULL) goto err; if (!ASN1_STRING_set(stmp, data, len)) goto err; atype = attrtype; } /* * This is a bit naughty because the attribute should really have at * least one value but some types use and zero length SET and require * this. */ if (attrtype == 0) { ASN1_STRING_free(stmp); return 1; } if ((ttmp = ASN1_TYPE_new()) == NULL) goto err; if ((len == -1) && !(attrtype & MBSTRING_FLAG)) { if (!ASN1_TYPE_set1(ttmp, attrtype, data)) goto err; } else { ASN1_TYPE_set(ttmp, atype, stmp); stmp = NULL; } if (!sk_ASN1_TYPE_push(attr->randomvalues, ttmp)) goto err; return 1; err: ASN1_TYPE_free(ttmp); ASN1_STRING_free(stmp); return 0; } #endif使用以上代码定义了一个PKCS9_ATTRIBUTE结构,请根据以上定义,将-----BEGIN RKRD.der----- MCAGCiqGSIb3DQEJGQMxEgQQFn6w5yeB5JQBEiM0RVZneA== -----END RKRD.der-----数据进行解码成PKCS9_ATTRIBUTE结构的数据
06-07

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值