You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Package Name And Version: arco-design-pro-vue@2.6.1
Framework version: Vue 3.2.45
Browser: chrome103.0.0.0
Steps to reproduce
创建Arco Pro Vue项目
[root@VM-4-11-centos acro-test]# arco init my-project
Please select the framework you want to use
选择:Vue
Please select the type of project you want to create
选择:Arco Pro Project
Please choose the template of Arco Pro Simple version (contains only one basic page)
选择:Arco Pro Simple version
在任意一个Vue组件中引用 a-button-group组件。
执行build编译代码的时候报错。
报错信息如下:
[vite]: Rollup failed to resolve import "/home/one/acro-test/my-project/node_modules/@arco-design/web-vue/es/button-group/style/css.js" from "src/views/dashboard/workplace/index.vue?vue&type=script&setup=true&lang.ts".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to build.rollupOptions.external
error during build:
Error: [vite]: Rollup failed to resolve import "/home/one/acro-test/my-project/node_modules/@arco-design/web-vue/es/button-group/style/css.js" from "src/views/dashboard/workplace/index.vue?vue&type=script&setup=true&lang.ts".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to build.rollupOptions.external
at onRollupWarning (file:///home/one/acro-test/my-project/node_modules/vite/dist/node/chunks/dep-5605cfa4.js:45832:19)
at onwarn (file:///home/one/acro-test/my-project/node_modules/vite/dist/node/chunks/dep-5605cfa4.js:45603:13)
at Object.onwarn (file:///home/one/acro-test/my-project/node_modules/vite/node_modules/rollup/dist/es/shared/rollup.js:23263:13)
at ModuleLoader.handleResolveId (file:///home/one/acro-test/my-project/node_modules/vite/node_modules/rollup/dist/es/shared/rollup.js:22158:26)
at file:///home/one/acro-test/my-project/node_modules/vite/node_modules/rollup/dist/es/shared/rollup.js:22119:26
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered:
Basic Info
Steps to reproduce
创建Arco Pro Vue项目
[root@VM-4-11-centos acro-test]# arco init my-project
Please select the framework you want to use
选择:Vue
Please select the type of project you want to create
选择:Arco Pro Project
Please choose the template of Arco Pro Simple version (contains only one basic page)
选择:Arco Pro Simple version
在任意一个Vue组件中引用 a-button-group组件。
执行build编译代码的时候报错。
报错信息如下:
[vite]: Rollup failed to resolve import "/home/one/acro-test/my-project/node_modules/@arco-design/web-vue/es/button-group/style/css.js" from "src/views/dashboard/workplace/index.vue?vue&type=script&setup=true&lang.ts".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
build.rollupOptions.external
error during build:
Error: [vite]: Rollup failed to resolve import "/home/one/acro-test/my-project/node_modules/@arco-design/web-vue/es/button-group/style/css.js" from "src/views/dashboard/workplace/index.vue?vue&type=script&setup=true&lang.ts".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
build.rollupOptions.external
at onRollupWarning (file:///home/one/acro-test/my-project/node_modules/vite/dist/node/chunks/dep-5605cfa4.js:45832:19)
at onwarn (file:///home/one/acro-test/my-project/node_modules/vite/dist/node/chunks/dep-5605cfa4.js:45603:13)
at Object.onwarn (file:///home/one/acro-test/my-project/node_modules/vite/node_modules/rollup/dist/es/shared/rollup.js:23263:13)
at ModuleLoader.handleResolveId (file:///home/one/acro-test/my-project/node_modules/vite/node_modules/rollup/dist/es/shared/rollup.js:22158:26)
at file:///home/one/acro-test/my-project/node_modules/vite/node_modules/rollup/dist/es/shared/rollup.js:22119:26
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered: