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

修复 引入模块名称大小写不一致导致的异常报错 #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yokinanya
Copy link

import中的模块名称大小写与package.json中的不一致会导致如下报错:

[ERROR] Two output files share the same path but have different contents: node_modules\.vite\deps_temp_10545c83\Vuetify.js

D:\Git\NyancyAccount\frontend\node_modules\.pnpm\[email protected]\node_modules\esbuild\lib\main.js:1651
  let error = new Error(text);
              ^

Error: Build failed with 1 error:
error: Two output files share the same path but have different contents: node_modules\.vite\deps_temp_10545c83\Vuetify.js
    at failureErrorWithLog (D:\Git\NyancyAccount\frontend\node_modules\.pnpm\[email protected]\node_modules\esbuild\lib\main.js:1651:15)
    at D:\Git\NyancyAccount\frontend\node_modules\.pnpm\[email protected]\node_modules\esbuild\lib\main.js:1059:25
    at D:\Git\NyancyAccount\frontend\node_modules\.pnpm\[email protected]\node_modules\esbuild\lib\main.js:1527:9
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
  errors: [Getter/Setter],
  warnings: [Getter/Setter]
}

Node.js v22.11.0
 ELIFECYCLE  Command failed with exit code 1.

统一小写vuetify可解决问题

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

Successfully merging this pull request may close these issues.

1 participant