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

Can't resolve "@wangeditor/editor-for-vue" #5039

Closed
inooNgt opened this issue Dec 16, 2023 · 2 comments · Fixed by #5047
Closed

Can't resolve "@wangeditor/editor-for-vue" #5039

inooNgt opened this issue Dec 16, 2023 · 2 comments · Fixed by #5047
Assignees
Labels
bug Something isn't working

Comments

@inooNgt
Copy link

inooNgt commented Dec 16, 2023

System Info

System:
OS: Windows 10 10.0.19045
CPU: (8) x64 Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
Memory: 7.59 GB / 15.96 GB
Binaries:
Node: 16.17.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.15.0 - C:\Program Files\nodejs\npm.CMD
pnpm: 7.30.3 - ~\AppData\Roaming\npm\pnpm.CMD
Browsers:
Edge: Chromium (114.0.1823.41)
Internet Explorer: 11.0.19041.3636

Details

install and import @wangeditor/editor-for-vue,then run rspack ,can see this error:
× Can't resolve "@wangeditor/editor-for-vue" in builtin:swc-loader??clonedRuleSet-1!F:\app\rspack-demo\node_modules\vue-loader\lib\index.js??vue-loader-options!F:\app\rspack-demo\src\App.vue?
│ vue&type=script&setup=true&lang=ts , maybe it had cycle alias

Reproduce link

https://github.com/web-infra-dev/rspack/tree/main/examples/vue2-tsx

Reproduce Steps

  1. download vue2-tsx examples:https://github.com/web-infra-dev/rspack/tree/main/examples/vue2-tsx
  2. npm i @wangeditor/editor-for-vue
  3. import { Editor } from "@wangeditor/editor-for-vue";
  4. npm run dev
@inooNgt inooNgt added bug Something isn't working pending triage The issue/PR is currently untouched. labels Dec 16, 2023
@inooNgt
Copy link
Author

inooNgt commented Dec 17, 2023

"@rspack/cli": "^0.4.3"

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

Successfully merging a pull request may close this issue.

3 participants