-
Notifications
You must be signed in to change notification settings - Fork 77
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
创建组件库项目,构建失败 #62
Comments
为组件库添加组件后再重新构建呢? |
我也是构建失败,且已经添加了组件
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
创建组件库项目,构建失败
To Reproduce
F:\vue3>arco init lib-project
? 请选择你希望使用的技术栈 Vue
? 请选择所要创建项目的类型 组件库
? 请输入 NPM 包名 common-components
? 请输入物料标题 公共组件
? 请描述你的物料 公共组件
? 请输入 NPM 包版本号 0.1.0
? 请选择物料的关键词(可多选) 数据展示
正在初始化项目于 F:\vue3\lib-project
√ 获取项目模板成功
√ 模板内容拷贝完成
√ 模板内容适配完成
√ 项目依赖安装完成
‼ 项目构建失败
Command executed failed: npm run build
npm WARN config global
--global
,--local
are deprecated. Use--location=global
instead.npm WARN config global
--global
,--local
are deprecated. Use--location=global
instead."build.lib.formats" will be ignored because "build.rollupOptions.output" is already an array format
"build.lib.formats" will be ignored because "build.rollupOptions.output" is already an array format
npm WARN config global
--global
,--local
are deprecated. Use--location=global
instead."build.lib.formats" will be ignored because "build.rollupOptions.output" is already an array format
You must supply options.input to rollup
F:\vue3\lib-project\node_modules\rollup\dist\shared\rollup.js:23039
throw new Error('You must supply options.input to rollup');
^
Error: You must supply options.input to rollup
at Graph.generateModuleGraph (F:\vue3\lib-project\node_modules\rollup\dist\shared\rollup.js:23039:19)
at async Graph.build (F:\vue3\lib-project\node_modules\rollup\dist\shared\rollup.js:22982:9)
at async F:\vue3\lib-project\node_modules\rollup\dist\shared\rollup.js:23680:13
at async catchUnfinishedHookActions (F:\vue3\lib-project\node_modules\rollup\dist\shared\rollup.js:23162:20)
at async rollupInternal (F:\vue3\lib-project\node_modules\rollup\dist\shared\rollup.js:23677:5)
at async doBuild (F:\vue3\lib-project\node_modules\vite\dist\node\chunks\dep-689425f3.js:41710:24)
at async build (F:\vue3\lib-project\node_modules\vite\dist\node\chunks\dep-689425f3.js:41552:16)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: