ant-design-mobile icon indicating copy to clipboard operation
ant-design-mobile copied to clipboard

pnpm 作为 npmClient 时, build 失败

Open chanv11 opened this issue 3 years ago • 6 comments

Version of antd-mobile

5.22.0

Operating system and its version

Others

Browser and its version

No response

Sandbox to reproduce

No response

What happened?

No response

Relevant log output

No response

chanv11 avatar Sep 01 '22 02:09 chanv11

image

chanv11 avatar Sep 01 '22 02:09 chanv11

来个复现的包吧

miracles1919 avatar Sep 01 '22 02:09 miracles1919

来个复现的包吧

我是直接把 master clone 下来 ,install 后 去 build 就出现这种情况

chanv11 avatar Sep 01 '22 02:09 chanv11

我们都是用 pnpm 的.. 要不你删了 node_modules,重新 pnpm installpnpm build 试试?

miracles1919 avatar Sep 01 '22 02:09 miracles1919

我们都是用 pnpm 的.. 要不你删了 node_modules,重新 pnpm installpnpm build 试试?

您好,我这边尝试了下,npmClient 为 pnpm 我分别用 windows centOS 作为 系统对同一份 node_modules 进行 pnpm buildwindow 出现了问题, centOS 一切正常 问题出现在了 buildDeclaration 这一步。 猜想是否和 image typeRoots 有关,Symlinkwindows 上会有问题?

chanv11 avatar Sep 01 '22 02:09 chanv11

社区里应该也有朋友用 Windows 作为开发环境的,可以等等看其他人有没有遇到这个问题,是不是稳定复现的

issue 先挂在这里好了

awmleer avatar Sep 13 '22 06:09 awmleer