web-infra-dev / rspack

The fast Rust-based web bundler with webpack-compatible API 🦀️
https://rspack.dev
MIT License
9.74k stars 560 forks source link

[Bug Report]: arco-pro example not working #2189

Closed xierenyuan closed 1 year ago

xierenyuan commented 1 year ago

System Info

System: OS: macOS 11.4 CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Memory: 243.75 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 16.19.1 - ~/.nvm/versions/node/v16.19.1/bin/node Yarn: 1.22.18 - ~/.nvm/versions/node/v14.19.1/bin/yarn npm: 8.19.3 - ~/.nvm/versions/node/v16.19.1/bin/npm Browsers: Chrome: 111.0.5563.64 Safari: 14.1.1 npmPackages: @rspack/cli: workspace: => 0.1.0 @rspack/plugin-html: workspace: => 0.1.0

Details

examples/arco-pro cannot be run with the following error image

Reproduce link

No response

Reproduce Steps

cd examples/arco-pro pnpm dev

IWANABETHATGUY commented 1 year ago

I can't reproduce this error.

xierenyuan commented 1 year ago

I can't reproduce this error. my other examples are working, I'm not sure if my computer is the only one with this problem I'll copy this demo out and try it later

IWANABETHATGUY commented 1 year ago

I can reproduce this now image

IWANABETHATGUY commented 1 year ago

Would you mind trying the latest branch?

IWANABETHATGUY commented 1 year ago

Please try to use pnpm --filter @rspack/binding build:release to compile your binding before run pnpm dev . It seems that swc has some issues compiling big file in debug mode.

IWANABETHATGUY commented 1 year ago

Since this issue could only be reproduced in debug mode, closed. Feel free to reopen if you have any further questions.