-
-
Notifications
You must be signed in to change notification settings - Fork 378
Description
Describe the bug
I want to use this plugin in my nuxt project to automatically import arco design components. This is no problem in the dev environment, but when building the project, it prompts that the file cannot be found: node_modules\.pnpm\registry.npmmirror.com+@arco-design+web-vue@2.44.4\node_modules\@arco-design\web -vue\es\button\style\css.js.js
I noticed that there is an extra .js at the end of the file path, and I wonder if nuxt has a conflict with this plugin
Since my English is not particularly proficient, the above text is the result of Google translation. The following is the original Chinese text
我想在nuxt项目中使用此插件以自动引入arco design的组件。这在dev环境下没有问题,但是构建项目时提示找不到文件:node_modules\.pnpm\registry.npmmirror.com+@arco-design+web-vue@2.44.4\node_modules\@arco-design\web-vue\es\button\style\css.js.js
我注意到这个文件路径的结尾多了一个.js,怀疑是否是nuxt与此插件产生了冲突
Reproduction
https://github.com/GodAraden/test-nuxt
System Info
System:
OS: Windows 10 10.0.22624
CPU: (12) x64 Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz
Memory: 5.38 GB / 15.83 GB
Binaries:
Node: 16.14.2 - D:\Nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\node_modules\yarn\bin\yarn.CMD
npm: 8.5.0 - D:\Nodejs\npm.CMD
Browsers:
Edge: Spartan (44.22621.1470.0), Chromium (111.0.1661.51)
Internet Explorer: 11.0.22621.1Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.
