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

vite+vue3+typescript项目报错 #41

Open
panoshu opened this issue Feb 7, 2025 · 0 comments
Open

vite+vue3+typescript项目报错 #41

panoshu opened this issue Feb 7, 2025 · 0 comments

Comments

@panoshu
Copy link

panoshu commented Feb 7, 2025

本人前端小白,vite+vue3+typescript项目,pnpm add vue-kline 安装后,参考了demo项目中demo1的使用方式报错,请大佬帮忙看下,跪谢。报错内容如下:

`✘ [ERROR] Could not resolve "./kline/kline"

node_modules/.pnpm/[email protected]/node_modules/vue-kline/src/index.js:1:21:
  1 │ import VueKline from './kline/kline'
    ╵                      ~~~~~~~~~~~~~~~

11:22:29 PM [vite] (client) error while updating dependencies:
Error: Build failed with 1 error:
node_modules/.pnpm/[email protected]/node_modules/vue-kline/src/index.js:1:21: ERROR: Could not resolve "./kline/kline"
at failureErrorWithLog (/home/fog/develop/frontend/vue-home/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1476:15)
at /home/fog/develop/frontend/vue-home/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:945:25
at /home/fog/develop/frontend/vue-home/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1354:9
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant