Skip to content

安装依赖携带 --ignore-scripts 会导致无法在vue2的项目中使用 #261

Description

@jeefeng

使用 pnpm i --ignore-scripts 安装依赖会导致无法在vue2的项目中使用

实际的发生场景 vue2项目使用了@antv/x6-vue-shape插件, 然后安装依赖 添加了 --ignore-scripts 参数, 导致xxx.reactive is not a function

安装依赖的时候执行对vue2的支持, 隐藏的有点深 [苦涩]
scripts: {
"postinstall" : 'xxxx'
}

作者可以在readme中添加个提示 [捂脸], 排查问题好坑呀[捂脸]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions