Comments (10)
没复现,要不你将 package.json 中的这行:
Line 16 in 271f63f
改为:
"postinstall": "pnpm build:pkg",
from vue3-antdv-admin.
from vue3-antdv-admin.
有没有可能是我的版本问题呢
node是18.19.1
pnpm 8.15.5
from vue3-antdv-admin.
版本看起来没问题,按理说你将 postinstall
脚本改为 pnpm build:pkg
之后,就没有执行 nx
相关的命令或脚本了呀🤔
from vue3-antdv-admin.
from vue3-antdv-admin.
哦,原理 nx 自己还有个 postinstall 的脚本
这样吧!你 pnpm remove nx
卸载掉 nx 这个包。
我 mac 复现不了你的问题,估计可能是电脑环境问题吧!
from vue3-antdv-admin.
刚在 nx 官方文档 看了下,可能是这条没满足吧!没关系,你卸载掉 nx 也不影响什么,它只是用来提高 monorepo 构建效率的
from vue3-antdv-admin.
from vue3-antdv-admin.
插件本身没问题,你可以手动 pnpm build:pkg 构建好相关插件,然后再 pnpm install 应该就可以了。
因为我在 package.json 有如下的配置,pnpm 没有正常同步这两个依赖项,事实上这应该算是 pnpm 官方的 bug,详见此 issue
Lines 147 to 153 in 271f63f
稍后,我将针对你这个情况做一个降级的处理,项目中
scripts/postinstall.js
这个脚本本身也是为了暂时兼容这个 bug 的vue3-antdv-admin/scripts/postinstall.js
Lines 1 to 26 in 271f63f
from vue3-antdv-admin.
手动 pnpm build:pkg 构建好相关插件,然后再 pnpm install 应该就可以了
还是不行的 一样的报错
from vue3-antdv-admin.
Related Issues (20)
- 佬如何取消前端代理阿???后端仔弄不来阿。研究了一晚上阿?? HOT 2
- 我在国际化里面用到了userStore 然后刷新页面就到了login页面
- DynamicTable表格columns的customRender属性 如何优雅的渲染字典对应值呢呢 字典是请求拿到的 HOT 1
- BUG!! columns的dataIndex属性 HOT 1
- 请问大神 全局 API 是如何做到的 HOT 1
- 表单设置layout: 'vertical' 样式会有问题 HOT 2
- nest-admin项目还在更新吗 提了PR没人审核呢 HOT 1
- useFormModal组件的上传开启必填项后,校验报错了。
- 菜单冲突 HOT 2
- 角色管理菜单的查询功能无效 HOT 1
- 如果单元格没有内容的话,编辑按钮貌似不会显示 HOT 1
- 搜索表单能自定义除了查询和重置之外的按钮吗 HOT 1
- 如何做到默认所有表格行为行编辑状态呢 HOT 1
- 如何emit值回来后,给form表单赋值?搜索条件的表单? HOT 1
- 打包报错了,找了好久不知道怎么解决
- Eslint性能问题 HOT 2
- 预览网址怎么没法看了
- 建议适配一下移动端
- 动态表单如何单独使用?
- 表格分页的page和goto怎么改不成中文
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue3-antdv-admin.