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

[Bug]: Compile error #3158

Closed
Wiki1991 opened this issue Aug 8, 2024 · 2 comments
Closed

[Bug]: Compile error #3158

Wiki1991 opened this issue Aug 8, 2024 · 2 comments
Labels
🐞 bug Something isn't working need reproduction

Comments

@Wiki1991
Copy link

Wiki1991 commented Aug 8, 2024

Version

System:
    OS: macOS 14.4.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 2.39 GB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Browsers:
    Chrome: 127.0.6533.90
    Safari: 17.4.1
  npmPackages:
    @rsbuild/core: ^1.0.1-beta.10 => 1.0.1-beta.10 
    @rsbuild/plugin-babel: ^1.0.1-beta.10 => 1.0.1-beta.10 
    @rsbuild/plugin-node-polyfill: ^1.0.4 => 1.0.4 
    @rsbuild/plugin-sass: ^1.0.1-beta.10 => 1.0.1-beta.10 
    @rsbuild/plugin-vue2: ^1.0.1-beta.10 => 1.0.1-beta.10 
    @rsbuild/plugin-vue2-jsx: ^1.0.1-beta.10 => 1.0.1-beta.10

Details

Rsbuild v1.0.1-beta.10

rsbuild 10:39:46 Failed to load file with dynamic import: /Users/wiki/depository_cat/rosa-crm-pc/rsbuild.config.mjs
rsbuild 10:39:46 add default plugins
rsbuild 10:39:46 add default plugins done
rsbuild 10:39:46 init plugins
rsbuild 10:39:46 init plugins done
rsbuild 10:39:46 modify Rsbuild config
rsbuild 10:39:46 modify Rsbuild config done
rsbuild 10:39:46 modify Rsbuild environment(web) config
rsbuild 10:39:46 modify Rsbuild environment(web) config done
rsbuild 10:39:46 modify bundler chain
rsbuild 10:39:46 modify bundler chain done
rsbuild 10:39:46 modify Rspack config
rsbuild 10:39:46 modify Rspack config done
rsbuild 10:39:46 create compiler
rsbuild 10:39:46 create compiler done
rsbuild 10:39:46 Use Rspack v1.0.0-beta.2
● ━━━━━━━━━━━━━━━━━━━━━━━━━ (8%) setup compilation success Inspect config succeed, open following files to view the content:

  • Rsbuild Config: /Users/wiki/depository_cat/rosa-crm-pc/dist/rsbuild.config.mjs
  • Rspack Config (web): /Users/wiki/depository_cat/rosa-crm-pc/dist/rspack.config.web.mjs

● web ━━━━━━━━━━━━━━━━━━━━━━━━━ (53%) building /Users/wiki/depository_cat/rosa-crm-pc/node_modules/.pnpm/unplugin@1.12

error Failed to build.
error Rspack build failed!
at file:///Users/wiki/depository_cat/rosa-crm-pc/node_modules/.pnpm/@rsbuild+core@1.0.1-beta.10/node_modules/@rsbuild/core/dist/index.js:5151:39
at finalCallback (/Users/wiki/depository_cat/rosa-crm-pc/node_modules/.pnpm/@rspack+core@1.0.0-beta.2_@swc+helpers@0.5.11/node_modules/@rspack/core/dist/Compiler.js:296:21)
at /Users/wiki/depository_cat/rosa-crm-pc/node_modules/.pnpm/@rspack+core@1.0.0-beta.2_@swc+helpers@0.5.11/node_modules/@rspack/core/dist/Compiler.js:319:36
at done (/Users/wiki/depository_cat/rosa-crm-pc/node_modules/.pnpm/@rspack+lite-tapable@1.0.0-beta.2/node_modules/@rspack/lite-tapable/dist/index.js:479:13)
at promise.then.index (/Users/wiki/depository_cat/rosa-crm-pc/node_modules/.pnpm/@rspack+lite-tapable@1.0.0-beta.2/node_modules/@rspack/lite-tapable/dist/index.js:499:25)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
 ELIFECYCLE  Command failed with exit code 1.
➜ rosa-crm-pc git:(dev-enroll) ✗

Reproduce link

none

Reproduce Steps

rsbuild build

@Wiki1991 Wiki1991 added the 🐞 bug Something isn't working label Aug 8, 2024
Copy link
Contributor

github-actions bot commented Aug 8, 2024

Hello @Wiki1991. Please provide a reproduction repository or online demo. For background, see Why reproductions are required. Thanks ❤️

@chenjiahan chenjiahan changed the title [Bug]: 编译报错 [Bug]: Compile error Aug 8, 2024
Copy link
Contributor

As the issue was labelled with need reproduction, but no response in 5 days. This issue will be closed. Feel free to comment and reopen it if you have any further questions. For background, see Why reproductions are required.

由于该 issue 被标记为 "需要重现",但在 5 天内没有回应,因此该 issue 将被关闭。如果你有任何进一步的问题,请随时发表评论并重新打开该 issue。背景请参考 为什么需要最小重现

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working need reproduction
Projects
None yet
Development

No branches or pull requests

2 participants