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]: When starting with Rsdoctor, I still get the message "rspack-plugin" even though it has been installed. #3358

Open
zhangdaren opened this issue Sep 3, 2024 · 11 comments
Assignees
Labels
bug Something isn't working

Comments

@zhangdaren
Copy link

Version

windows
edge
 "@rsbuild/core": "^1.0.1-rc.0",
    "@rsbuild/plugin-babel": "^1.0.1-rc.0",
    "@rsbuild/plugin-less": "^1.0.1-rc.0",
    "@rsbuild/plugin-node-polyfill": "^1.0.4",
    "@rsbuild/plugin-sass": "^1.0.1-rc.0",
    "@rsbuild/plugin-vue2": "^1.0.1",
    "@rsbuild/plugin-vue2-jsx": "^1.0.1-beta.14",
    "@rsdoctor/rspack-plugin": "^0.3.11",

Details

如图所示:image,已经安装了rspack-plugin,应该不需要再提示了。

Reproduce link

Reproduce Steps

@zhangdaren zhangdaren added the bug Something isn't working label Sep 3, 2024
Copy link
Contributor

github-actions bot commented Sep 3, 2024

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

@chenjiahan chenjiahan changed the title [Bug]: 使用rsdoctor启动时,明明已经安装了rspack-plugin,却仍然提示 [Bug]: When starting with Rsdoctor, I still get the message "rspack-plugin" even though it has been installed. Sep 3, 2024
@easy1090 easy1090 self-assigned this Sep 3, 2024
@chenjiahan
Copy link
Member

I have added a fix for this issue., can you try the latest RC version? https://github.com/web-infra-dev/rsbuild/releases/tag/v1.0.1-rc.4

@melMass
Copy link

melMass commented Sep 8, 2024

Neither rc4 or rc5 solves it for me on windows with pnpm

@melMass
Copy link

melMass commented Sep 8, 2024

@easy1090
Copy link
Contributor

easy1090 commented Sep 9, 2024

@melMass I wasn't able to reproduce the issue using the reproduction. Could you try deleting the node_modules directory and then run pnpm install again

image

@chenjiahan
Copy link
Member

@easy1090 are you using Windows?

@easy1090
Copy link
Contributor

easy1090 commented Sep 9, 2024

@chenjiahan I didn't notice Windows. Let me try it on Windows.

@chenjiahan
Copy link
Member

I guess this issue is similar to this one: https://github.com/rspack-contrib/rsbuild-plugin-ejs/pull/2/files

Using pathToFileURL should fix it.

@melMass
Copy link

melMass commented Sep 9, 2024

Could you try deleting the node_modules directory and then run pnpm install again

The reproduction was made from scratch so I don't think it's that, unless you mean clearing the cache of pnpm?
I had the issue in my project, found this ticket, tried in isolation (the reproduction)

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 Sep 15, 2024
@chenjiahan chenjiahan reopened this Sep 15, 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 Sep 21, 2024
@chenjiahan chenjiahan reopened this Sep 21, 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
Projects
None yet
Development

No branches or pull requests

4 participants