Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lzwStore opened this issue Jun 11, 2024 · 0 comments

Comments

@lzwStore
Copy link

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

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

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant