mpx icon indicating copy to clipboard operation
mpx copied to clipboard

[Bug report]尝试 pnpm,pnpm serve 时 e2e\components\list.spec.ts 处 '@mpxjs/e2e' 报错

Open LiMao00 opened this issue 7 months ago • 2 comments

问题描述
请用简洁的语言描述你遇到的bug,至少包括以下部分,如提供截图请尽量完整:

  1. 问题触发的条件:脚手架选择 e2e,使用 yarn 安装依赖没问题(因为有 yarn.lock)。删除 yarn.lock 和 node_modules,pnpm 安装依赖,报错如图:

Image

  1. 期望的表现:使用 pnpm
  2. 实际的表现:报错

LiMao00 avatar May 21 '25 08:05 LiMao00

package.json 缺失,需手动添加

  "devDependencies": {
    "@mpxjs/e2e": "0.0.11",
    "@mpxjs/e2e-scripts": "0.0.9",

@mpxjs/e2e 和 @mpxjs/e2e-scripts 的最新版本会报错

LiMao00 avatar May 21 '25 08:05 LiMao00

脚手架的版本号发一下

handsomeBingo avatar Jun 04 '25 03:06 handsomeBingo