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]: Rsbuild plugin "rsbuild:less" registered multiple times. #3191

Closed
onlyling opened this issue Aug 12, 2024 · 3 comments
Closed

[Bug]: Rsbuild plugin "rsbuild:less" registered multiple times. #3191

onlyling opened this issue Aug 12, 2024 · 3 comments
Labels
🐞 bug Something isn't working

Comments

@onlyling
Copy link

Version

System:
    OS: macOS 14.6.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 1.24 GB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Browsers:
    Chrome: 127.0.6533.100
    Safari: 17.6
  npmPackages:
    @rsbuild/core: ^1.0.0 => 1.0.0 
    @rsbuild/plugin-less: ^0.7.10 => 0.7.10 
    @rsbuild/plugin-react: ^1.0.0 => 1.0.0

Details

cross-env BUILD_ENV=dev rsbuild dev
Rsbuild v1.0.0

warn Rsbuild plugin "rsbuild:less" registered multiple times.

Local: http://localhost:8080/
Network: http://192.168.31.150:8080/

start Compiling...
ready Client compiled in 0.69 s

if remove pluginLess, no warnings and less files convert fine.

Reproduce link

https://github.com/onlyling/web-template-rsbuild

Reproduce Steps

  • pnpm add @rsbuild/plugin-less@0.7.10 -D
  • edit rsbuild.config.ts, add pluginLess
  • npm run start:dev
@onlyling onlyling added the 🐞 bug Something isn't working label Aug 12, 2024
@chenjiahan
Copy link
Member

Rsbuild v1.0.0 is a deprecated version, please use the latest version: https://github.com/web-infra-dev/rsbuild/releases

image

@onlyling
Copy link
Author

npx npm-check-updates -u -x react-router-dom,typescript

Can't upgrade to the latest beta version, which is a bit bad.

@chenjiahan
Copy link
Member

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