查看了包找得到keypress 但是不知道为什么插件一直报错
Opened this issue · 3 comments
[vite] [plugin:vite:import-analysis] Failed to resolve import "/Users/hongge/Desktop/li/yunyizhineng/autopart-mobile/src/components/keypress/index.vue" from "node_modules/@climblee/uv-ui/components/uv-popup/uv-popup.vue". Does the file exist?
at ../node_modules/@climblee/uv-ui/components/uv-popup/uv-popup.vue:1:664
1 | import __easycom_0 from '@climblee/uv-ui/components/uv-overlay/uv-overlay.vue';import { resolveDynamicComponent as __resolveDynamicComponent } from 'vue';import { resolveEasycom } from '@dcloudio/uni-app';import __easycom_1 from '@climblee/uv-ui/components/uv-status-bar/uv-status-bar.vue';import __easycom_2 from '@climblee/uv-ui/components/uv-safe-bottom/uv-safe-bottom.vue';import __easycom_3 from '@climblee/uv-ui/components/uv-icon/uv-icon.vue';import '@dcloudio/uni-components/style/view.css';import { View as __syscom_4 } from '@dcloudio/uni-h5';import __easycom_5 from '@climblee/uv-ui/components/uv-transition/uv-transition.vue';import __easycom_6 from '/Users/hongge/Desktop/li/yunyizhineng/autopart-mobile/src/components/keypress/index.vue';
| ^
2 |
3 | import keypress from './keypress.js'
用npm重新下载看看
使用npm重新下载看看
试过了没用
或许你解决了,但我希望能够帮助到你(或者后来者),因为我也遇到了这个问题,希望大家少走弯路。