ionic5 - Ionic 5 当我尝试使用cordova android build 时显示此错误?
问题描述
我收到以下错误:
Check your connection and platform name/version/URL.
Error: npm: Command failed with exit code 1 Error output:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for cordova-android@0.0.8
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\FSTECH-17\AppData\Roaming\npm-cache\_logs\2020-07-20T06_20_28_398Z-debug.log
[ERROR] An error occurred while running subprocess cordova.
cordova.cmd platform add android --save exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
解决方案
我想你的版本不存在。我正在使用版本“8.1.0”的cordova-android。
推荐阅读
- python-3.x - 我有一个列表类型的数据框列,但列中的某些行缺少数据,所以我想从列中删除缺少的数据行
- php - “无效的范围字段:public_content”错误显示在 php 的 instagram api 中
- sas - 仅当用户名与列表匹配时才运行宏
- javascript - 使用 JavaScript 模块的同构 JavaScript 库 - 在浏览器中省略 Node.js 依赖项?
- android - 如何查询列包含指针值的表?
- alfresco - alfresco 将键值映射存储在单个内容模型属性中
- django - Django:AttributeError:“NoneType”对象没有属性“is_relation”
- c# - 为什么 Visual Studio 2010 在 VS2017 允许时不允许在 linq 查询中使用“is null”?
- react-native - tabBarVisible 在 createBottomTabNavigator 中不起作用
- highcharts - 不带范围选择器的 Highchart 多轴时间线图