当前位置:网站首页>[vscode - vehicle plug-in reports an error] cannot find module 'xxx' or its corresponding type declarations Vetur(2307)
[vscode - vehicle plug-in reports an error] cannot find module 'xxx' or its corresponding type declarations Vetur(2307)
2022-07-03 06:53:00 【Alisone_ li】
Cannot find module '@/utils/request' or its corresponding type declarations.Vetur...
Cause analysis
Error reporting example , As shown in the figure :

The emergence of the above problems , Generally due to Visual Studio Code Installed in Vetur plug-in unit , It requires :
- 1, The project is in the workspace root directory ( Is to drag the project folder into vscode After the effect of )
- 2, Project number one ( If you are not in the first place, you can drag the mouse to move the item to the first place )
Solution
Move the project directly to the first place in the workspace :

边栏推荐
- [classes and objects] explain classes and objects in simple terms
- Heap sort and priority queue
- Understand software testing
- New knowledge! The virtual machine network card causes your DNS resolution to slow down
- Scroll view specifies the starting position of the scrolling element
- 【code】if (list != null && list.size() > 0)优化,集合判空实现方式
- UTC time, GMT time, CST time
- Example of joint use of ros+pytoch (semantic segmentation)
- MATLAB如何修改默认设置
- Climb movie paradise 2021 hot
猜你喜欢

10万奖金被瓜分,快来认识这位上榜者里的“乘风破浪的姐姐”

熊市里的大机构压力倍增,灰度、Tether、微策略等巨鲸会不会成为'巨雷'?

远端rostopic的本地rviz调用及显示

2022 East China Normal University postgraduate entrance examination machine test questions - detailed solution

2022 - 06 - 23 vgmp - OSPF - Inter - Domain Security Policy - nat Policy (Update)

Paper notes vsalm literature review "a comprehensive survey of visual slam algorithms"

Create your own deep learning environment with CONDA

Scroll view specifies the starting position of the scrolling element

Sorting out the core ideas of the pyramid principle

【开源项目推荐-ColugoMum】这群本科生基于国产深度学习框架PaddlePadddle开源了零售行业解决方案
随机推荐
Interface test weather API
Yolov1 learning notes
La loi des 10 000 heures ne fait pas de vous un maître de programmation, mais au moins un bon point de départ
Example of joint use of ros+pytoch (semantic segmentation)
Opencv mouse and keyboard events
Software testing assignment - day 3
php安装swoole扩展
opencv
Pytorch exercise items
【code】偶尔取值、判空、查表、验证等
机械观和系统观的科学思维方式各有什么特点和作用
2022 East China Normal University postgraduate entrance examination machine test questions - detailed solution
Golang operation redis: write and read kV data
[leetcode] day93 - intersection of two arrays II
Software testing learning - day 3
A letter to graduating college students
Journal quotidien des questions (11)
学习笔记 -- k-d tree 和 ikd-Tree 原理及对比
Local rviz call and display of remote rostopic
How does the insurance company check hypertension?