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

build Failed #164

Closed
zwj-cheer opened this issue Sep 5, 2024 · 1 comment
Closed

build Failed #164

zwj-cheer opened this issue Sep 5, 2024 · 1 comment

Comments

@zwj-cheer
Copy link

zwj-cheer commented Sep 5, 2024

运行build时会有报错
[Vue] Failed to create plugin TypeError: plugin is not a function
at /Users/zhaoweijie/Desktop/daotl/vue3-element-admin-thin/node_modules/.pnpm/@VUE+language-core@2.1.6_typescript@5.5.4/node_modules/@vue/language-core/lib/plugins.js:55:30
at Array.flatMap ()
at createPlugins (/Users/zhaoweijie/Desktop/daotl/vue3-element-admin-thin/node_modules/.pnpm/@VUE+language-core@2.1.6_typescript@5.5.4/node_modules/@vue/language-core/lib/plugins.js:52:10)
at Object.createVueLanguagePlugin (/Users/zhaoweijie/Desktop/daotl/vue3-element-admin-thin/node_modules/.pnpm/@VUE+language-core@2.1.6_typescript@5.5.4/node_modules/@vue/language-core/lib/languagePlugin.js:52:49)
at /Users/zhaoweijie/Desktop/daotl/vue3-element-admin-thin/node_modules/.pnpm/vue-tsc@2.1.6_typescript@5.5.4/node_modules/vue-tsc/index.js:18:43
at Object.apply (/Users/zhaoweijie/Desktop/daotl/vue3-element-admin-thin/node_modules/.pnpm/@volar+typescript@2.4.2/node_modules/@volar/typescript/lib/node/proxyCreateProgram.js:50:33)
at getBuilderCreationParameters (/Users/zhaoweijie/Desktop/daotl/vue3-element-admin-thin/node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/tsc.js:123488:18)
at createEmitAndSemanticDiagnosticsBuilderProgram (/Users/zhaoweijie/Desktop/daotl/vue3-element-admin-thin/node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/tsc.js:123982:81)
at createIncrementalProgram (/Users/zhaoweijie/Desktop/daotl/vue3-element-admin-thin/node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/tsc.js:125787:10)
at performIncrementalCompilation (/Users/zhaoweijie/Desktop/daotl/vue3-element-admin-thin/node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/tsc.js:125737:26)

@haoxianrui
Copy link
Collaborator

验证最新版本没问题,可以提供下node和pnpm版本
image

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

3 participants