vite-plugin-uni-pages icon indicating copy to clipboard operation
vite-plugin-uni-pages copied to clipboard

运行dev:app报错

Open lowprofile-isp opened this issue 6 months ago • 2 comments

描述问题

运行dev:app报错 TypeError: self.findLastIndex is not a function

Image

复现

运行 pnpm dev:app

系统信息

基础环境信息:

  • os: macOS 13.5
  • node: 20.5.0
  • packageManager: pnpm

基础依赖信息:

  • vue: 3.3.11
  • vite: 4.3.5
  • @dcloudio/uni-app: 3.0.0-4000820240401001

uni-helper依赖信息:

  • @uni-helper/uni-ui-types: 0.5.15
  • @uni-helper/vite-plugin-uni-components: 0.0.8
  • @uni-helper/vite-plugin-uni-layouts: 0.1.10
  • @uni-helper/vite-plugin-uni-manifest: 0.2.8
  • @uni-helper/vite-plugin-uni-pages: 0.2.28
  • @uni-helper/vite-plugin-uni-platform: 0.0.4

使用的包管理器

pnpm

核对

贡献

  • [ ] 我愿意提交一个 PR 修复这个问题
  • [ ] 我愿意提交一个 PR 带有失败的测试(实际上只要去做就好,谢谢!)

lowprofile-isp avatar May 12 '25 05:05 lowprofile-isp

@Xiphin @edwinhuish @LetFree @Megasu

lowprofile-isp avatar May 12 '25 05:05 lowprofile-isp

像是 esm 问题,尝试动态 import 使用插件,或者将项目调整为 esm

cnguu avatar Oct 13 '25 06:10 cnguu