Cannot find module '@ohos/axios' or its corresponding type declarations.
请问各位大佬,已经安装了 @ohos/axios
但是仍然报Cannot find module '@ohos/axios' or its corresponding type declarations.
@ohos/axios
赞
收藏 0
回答 1
相关问题
Cannot find module '@ohos.application.Ability' or its corresponding type declarations.
14253浏览 • 1回复 待解决
hvigor ERROR: Error, Cannot find module '@ohos/hvigor-ohos-plugin/src/utils/log/log-adaptor'
475浏览 • 0回复 待解决
HarmonyOS entry module中引用hsp报错cannot find record...
2979浏览 • 1回复 待解决
HarmonyOS Cannot find name 'ESObject'
1049浏览 • 0回复 待解决
getContext 提示错误,Cannot find name 'getContext'
1814浏览 • 1回复 待解决
DevEco Studio 升级报错 Cannot find JAR 'jaxb-impl-2.3.2.jar' required by module 'gradle-resources-s3
8665浏览 • 2回复 已解决
DevEco Studio出现Gradle sync failed: Cannot find JAR错误
6245浏览 • 1回复 待解决
HarmonyOS 报错Cannot find name 'backgroundColor'.
603浏览 • 1回复 待解决
HarmonyOS 如何实现一个ViewModelFactory,当前会报错cannot find name 'T'
648浏览 • 0回复 待解决
基于@ohos/axios的网络请求能力
1423浏览 • 1回复 待解决
在TS文件里使用Concurrent注解报红,提示Cannot find name 'Concurrent'
1894浏览 • 1回复 待解决
Ohos Library module 如何运行测试 ?
3204浏览 • 1回复 待解决
module.json5配置文件中type的含义
1406浏览 • 1回复 待解决
SystemPluginLoader: find plugin class exception, Class:ohos.event.notification.plugin.NotificationPl
6772浏览 • 1回复 待解决
调试模式下 报Cause: Can't find any .so file in current module Solution
2686浏览 • 1回复 待解决
将一个文件,从原文件下移出后,Cannot find name 'CustomDialogExample',无法引用
872浏览 • 1回复 待解决
HarmonyOS 请问有封装好了的axios网络请求module吗?
783浏览 • 1回复 待解决
已解决,在终端手动下载2.2.1版本就可以了:ohpm i @ohos/axios@2.2.1