his dependency was not found: * three/addons/controls/OrbitControls.js in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/three/three.vue?vue&type=script&lang=js& To install it, you can run: npm install --save three/addons/controls/OrbitControls.js
时间: 2023-07-07 08:04:33 浏览: 42
这个错误提示说缺少 OrbitControls.js 这个文件,你可以运行以下命令安装它:
```
npm install --save three
```
如果已经安装了 three,则可以尝试重新安装:
```
npm uninstall three
npm install three
```
如果还是不行,可能是版本问题,你可以尝试安装指定版本的 three:
```
npm install --save three@0.100.0
```
具体版本号可以根据你的项目需要进行调整。
相关问题
This dependency was not found: * @/views/MenuList in ./src/router.js
回答: 根据你提供的引用内容,这个错误是由于在`./src/router.js`文件中找不到`@/views/MenuList`这个依赖引起的。要解决这个问题,你需要确保`MenuList`组件的路径是正确的,并且已经正确地导入到`router.js`文件中。请检查一下`MenuList`组件的路径是否正确,并且确保在`router.js`文件中正确地导入了该组件。如果路径和导入都没有问题,那么可能是其他地方出现了错误导致找不到该依赖。你可以进一步检查代码并查看是否有其他错误导致了这个问题的发生。
#### 引用[.reference_title]
- *1* *2* *3* [This dependency was not found: * swiper/dist/css/swiper.css in ./src/main.js](https://blog.csdn.net/weixin_43918847/article/details/111465224)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
This dependency was not found: * echarts/core in ./node_modules/vue-echarts/dist/index.esm.min.js系统报如上错误,请解决
这个错误提示表明在您的项目中缺少 echarts/core 这个依赖库。您需要通过以下步骤来解决这个问题:
1. 确认您的项目中已经安装了 echarts/core,可以通过命令 npm ls echarts/core 来检查。
2. 如果您的项目中没有安装 echarts/core,则需要通过 npm install echarts/core 命令安装。
3. 如果您已经安装了 echarts/core,但是系统仍然报错,可能是因为您的项目配置文件中没有正确指定 echarts/core 的路径,您需要检查一下项目配置文件并进行修改。
4. 如果以上步骤都没有解决问题,您可以尝试卸载并重新安装 vue-echarts 包,并重新编译运行项目。
希望以上解决方案能够帮助您解决这个问题。如果您有其他问题,可以随时向我提问。
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)