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

pnpm run build 时,包类型报错 #1

Closed
wjcms opened this issue Apr 16, 2022 · 1 comment
Closed

pnpm run build 时,包类型报错 #1

wjcms opened this issue Apr 16, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@wjcms
Copy link

wjcms commented Apr 16, 2022

node_modules/.pnpm/[email protected][email protected]/node_modules/vite-plugin-vue-meta-layouts/client.d.ts:2:1 - error TS1185: Merge conflict marker encountered.

2 <<<<<<< HEAD


node_modules/.pnpm/[email protected][email protected]/node_modules/vite-plugin-vue-meta-layouts/client.d.ts:20:1 - error TS1185: Merge conflict marker encountered.

20 =======

node_modules/.pnpm/[email protected][email protected]/node_modules/vite-plugin-vue-meta-layouts/client.d.ts:23:1 - error TS1185: Merge conflict marker encountered.

23 >>>>>>> d6bcf7a



Found 3 errors in the same file, starting at: node_modules/.pnpm/[email protected][email protected]/node_modules/vite-plugin-vue-meta-layouts/client.d.ts:2

 ELIFECYCLE  Command failed with exit code 2.
@markthree markthree changed the title pnpm run build 报错 pnpm run build 时,包类型报错 Apr 16, 2022
@markthree markthree self-assigned this Apr 16, 2022
@markthree markthree added the bug Something isn't working label Apr 16, 2022
@markthree
Copy link
Member

@wjcms 靓仔你好,问题已修复,可以更新 vite-plugin-vue-meta-layouts 依赖到 0.0.8。同时如果你是使用 npm create vite 的方式创建的项目,可以在 tsconfig.json 中的 compilerOptions 中设置 skipLibChecktrue 跳过包检测。或者在 package.json 中的 scripts 中的 build 改为为 vite build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants