these relative modules were not found
时间: 2023-04-30 10:00:16 浏览: 65
这个错误提示意味着某些相关的模块没有被找到。如果你正在开发一个软件项目,这可能是因为你的代码依赖于其他的模块或库,但这些模块或库没有被正确地安装或配置。
要解决这个问题,你可以尝试以下步骤:
1. 确认你的代码中引用的所有模块或库都已正确地安装或配置。你可以查看你的项目依赖列表或者 package.json 文件来确定。
2. 如果你的项目使用了某些第三方库或模块,你可以尝试重新安装它们,或者更新到最新的版本。
3. 确认你的代码中引用的所有模块或库的路径是否正确。你可以尝试使用绝对路径或相对路径来引用模块或库。
4. 确认你的代码中引用的所有模块或库的名称是否正确。有时候,模块或库的名称可能会拼写错误,导致无法找到。
如果你仍然无法解决这个问题,你可以在搜索引擎上查找类似的错误信息,或者在相关的社区论坛上寻求帮助。
相关问题
These relative modules were not found:
These relative modules were not found指的是在VUE项目中引用的相对模块未找到的错误。根据引用\[1\]和引用\[2\]的描述,这个错误通常是由于文件路径错误导致的。解决这个问题的方法是按照链接中提供的排查步骤逐个检查文件路径是否正确。如果确认文件路径无误,可以尝试运行npm install命令来安装可能缺失的依赖项。如果问题仍然无法解决,可以继续检查引用文件的路径是否正确。
#### 引用[.reference_title]
- *1* *3* [These relative modules were not found:](https://blog.csdn.net/heming9174/article/details/121753182)[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^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [VUE项目,文件路径正确,但是This relative module was not found](https://blog.csdn.net/qq_15719613/article/details/123359895)[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^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
These dependencies were not found: * core-js/fn/promise in ./src/util/formHtml.js * file-saver in ./src/util/formHtml.js To install them, you can run: npm install --save core-js/fn/promise file-saver These relative modules were not found: * ../../../service/api in ./src/util/element/child.js, ./src/util/vant/child.js * ../../router/router in ./src/util/formHtml.js * ../../service/common in ./src/util/data.js * ../../service/storage in ./src/util/data.js * ../form/control/index in ./src/util/formHtml.js 给我中文解析
这些依赖项未找到:
* 在./src/util/formHtml.js中的core-js/fn/promise
* 在./src/util/formHtml.js中的file-saver
要安装它们,可以运行:npm install --save core-js/fn/promise file-saver
这些相对模块未找到:
* 在./src/util/element/child.js、./src/util/vant/child.js中的../../../service/api
* 在./src/util/formHtml.js中的../../router/router
* 在./src/util/data.js中的../../service/common
* 在./src/util/data.js中的../../service/storage
* 在./src/util/formHtml.js中的../form/control/index
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.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)