GET https://registry.npmjs.org/@dcloudio%2Funi-mp-jd: Value of "this" must be of type URLSearchParams
- 发布:2023-08-13 20:56
- 更新:2023-08-14 02:20
- 阅读:362
产品分类: uniapp/小程序/微信
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: macOS13.1
HBuilderX类型: 正式
HBuilderX版本号: 3.8.7
第三方开发者工具版本号: 1.00
基础库版本号: 1.1.1
项目创建方式: HBuilderX
示例代码:
操作步骤:
1、npx degit dcloudio/uni-preset-vue#vite-ts my-vue3-project
2、pnpm i
就出现报错了
1、npx degit dcloudio/uni-preset-vue#vite-ts my-vue3-project
2、pnpm i
就出现报错了
预期结果:
GET https://registry.npmjs.org/@dcloudio%2Funi-mp-jd: Value of "this" must be of type URLSearchParams
GET https://registry.npmjs.org/@dcloudio%2Funi-mp-jd: Value of "this" must be of type URLSearchParams
实际结果:
GET https://registry.npmjs.org/@dcloudio%2Funi-mp-jd: Value of "this" must be of type URLSearchParams
GET https://registry.npmjs.org/@dcloudio%2Funi-mp-jd: Value of "this" must be of type URLSearchParams
bug描述:
1、通过命令创建
npx degit dcloudio/uni-preset-vue#vite-ts my-vue3-project
创建成功后,下载依赖的时候报错
GET https://registry.npmjs.org/@dcloudio%2Funi-mp-jd: Value of "this" must be of type URLSearchParams
1 个回复
q***@aliyun.com (作者) - sc2.0
没人遇到这个问题吗?