uni-helper / uni-network

为 uni-app 打造的基于 Promise 的 HTTP 客户端
https://uni-network.netlify.app
MIT License
76 stars 8 forks source link

alpha版本uniapp报错 #51

Closed YaWeiBoy closed 3 months ago

YaWeiBoy commented 3 months ago

描述问题

​node_modules/statuses/index.js (8:7): Error when using sourcemap for reporting an error: Can't resolve original location of error.​ 11:45:35.120 node_modules/statuses/index.js (8:7): "default" is not exported by " 11:45:35.128 at ../node_modules/statuses/index.js:8:7 11:45:35.140 6: / 11:45:35.152 7: import as commonjsHelpers from " 11:45:35.160 8: import require$$0 from "\u0000D:/free/uniapp/uni-bug/node_modules/statuses/codes.json?commonjs-proxy"; 11:45:35.174 ^ 11:45:35.184 9: 11:45:35.188 10: 'use strict'

复现

是cli方式创建uniapp项目 引用@uni-helper/uni-network

系统信息

create-uni@1.4.2

使用的包管理器

pnpm

核对

YaWeiBoy commented 3 months ago

uni-bug.zip demo

ModyQyW commented 3 months ago

uni-app 相关依赖切换到 3.0.0-4020420240722002 没有问题,认为该问题与 uni-network 无关,请找 uni-app 官方解决,谢谢