缺少rollup依赖,手动安装后,却又提示“__name is not defined”
zzjjbbaa opened this issue · 6 comments
zzjjbbaa commented
缺少rollup依赖,手动安装后,却又提示“__name is not defined”
umbrella22 commented
有没有可能,我的readme中说了要用yarn,但是你却用了pnpm
zzjjbbaa commented
有没有可能,我的readme中说了要用yarn,但是你却用了pnpm
已经解决,vite的bug
liuyuu11 commented
有没有可能,我的readme中说了要用yarn,但是你却用了pnpm
已经解决,vite的bug
怎么解决的,我也遇到。yarn安装
zzjjbbaa commented
liuyuu11 commented
有没有可能,我的readme中说了要用yarn,但是你却用了pnpm
已经解决,vite的bug
var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
globalThis.__name = __name
我在其他的issue也看到这种解决方案了。但是我感觉这种方案很奇怪,不知道会不会有其他坑在。另外,我另外一台电脑 nodejs 16.17.0 + npm/yarn安装没问题。。这台电脑 nodejs 18.17.0 + yarn 就有这种奇葩问题
umbrella22 commented