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

ERROR: Could not resolve "@vicons/ionicons5" #3616

Closed
litt1e-p opened this issue Aug 29, 2022 · 5 comments
Closed

ERROR: Could not resolve "@vicons/ionicons5" #3616

litt1e-p opened this issue Aug 29, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@litt1e-p
Copy link

TuSimple/naive-ui version (版本)

2.33.0

Vue version (Vue 版本)

3.2.37

Browser and its version (浏览器及其版本)

Chrome 104.0.5112.102

System and its version (系统及其版本)

Windows 10

Node version (Node 版本)

Reappearance link (重现链接)

https://github.com/tusen-ai/naive-ui

Reappearance steps (重现步骤)

install naive-ui of ver: 2.33.0 and run in dev mode

Expected results (期望的结果)

no error

Actual results (实际的结果)

[vite] error while updating dependencies: 10:02:14
Error: Build failed with 1 error:
node_modules/naive-ui/es/theme-editor/src/ThemeEditor.js:3:21: ERROR: Could not resolve "@vicons/ionicons5"

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label Aug 29, 2022
@sunzehui
Copy link

just install @vicons/ionicons5 !

@litt1e-p
Copy link
Author

add it to peerDependencies will be a good idea

@dasoncheng
Copy link

dasoncheng commented Aug 29, 2022

same on macOS

image

@07akioni 07akioni added bug Something isn't working and removed untriaged need to sort labels Aug 29, 2022
@07akioni
Copy link
Collaborator

This is a bug, I'll fix it tonight.

@theOnlyUnique
Copy link

vue3+vite+naiveui现在依旧会报错

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

5 participants