This version of CLI is only compatible with Angular versions
Angular报错:
root@ubuntu:/home/yg/rv/sdk/rv1.7/rv1126_rv1109/app/ipcweb-ng# ng serve
Your global Angular CLI version (12.2.7) is greater than your local version (12.0.5). The local Angular CLI version is used.To disable this warning use "ng config -g cli.warnings.versionMismatch false".
"CustomWebpackDevServerSchema" schema is using the keyword "id" which its support is deprecated. Use "$id" for schema ID.
This version of CLI is only compatible with Angular versions ^12.0.0-next || >=12.0.0 <13.0.0,
but Angular version 9.0.2 was found instead.Please visit the link below to find instructions on how to update Angular.
https://update.angular.io/
解决办法,卸载当前本地angular版本,装符合标准的版本
root@ubuntu:/home/yg/rv/sdk/rv1.7/rv1126_rv1109/app/ipcweb-ng# ng serve
"CustomWebpackDevServerSchema" schema is using the keyword "id" which its support is deprecated. Use "$id" for schema ID.
This version of CLI is only compatible with Angular versions ^12.0.0-next || >=12.0.0 <13.0.0,
but Angular version 9.0.7 was found instead.Please visit the link below to find instructions on how to update Angular.
https://update.angular.io/
怎么一下9.0.2
版本一下9.0.7
版本的?
我尝试修改ipcweb-ng目录下的package.json和卸载或升级本地的angular,没有效果,
后来把rv1.7原装的ipcweb-ng拷贝过来,按步骤运行,好像没有再报这个错误了,但是报了其他的错误,
This version of CLI is only compatible with Angular versions相关推荐
- go实现命令行的工具cli
A simple, fast, and fun package for building command line apps in Go 详见:https://github.com/urfave/cl ...
- ng命令汇总:Angular CLI 使用教程指南参考
Angular CLI 使用教程指南参考 Angular CLI 现在虽然可以正常使用但仍然处于测试阶段. Angular CLI 依赖 Node 4 和 NPM 3 或更高版本. 安装 要安装Ang ...
- Angular CLI 使用教程指南参考
Angular CLI 使用教程指南参考 Angular CLI 现在虽然可以正常使用但仍然处于测试阶段. Angular CLI 依赖 Node 4 和 NPM 3 或更高版本. 安装 要安装Ang ...
- Spring Boot快速开发利器:Spring Boot CLI
Spring Boot CLI(Command Line Interface)是一个命令行工具,您可以用它来快速构建Spring原型应用.通过Spring Boot CLI,我们可以通过编写Groov ...
- 【vue】安装新版本vue-cli:@vue/cli
前言 nodjs v14.16.1 (在Windows系统安装Nodejs.在Linux系统安装Nodejs) vue-cli 版本 vue-cli 已分为2个版本: @vue/cli,这是新版本(本 ...
- 安装angular cli_Angular 9适用于初学者—如何使用Angular CLI安装第一个应用程序
安装angular cli Angular is one of the most popular JavaScript frameworks created and developed by Goog ...
- 如何在Windows上安装Angular:Angular CLI,Node.js和构建工具指南
In this tutorial, we'll learn how to install Angular CLI in Windows and use it to create an Angular ...
- python pip下载本地依赖包,并在离线环境中安装,并解决报错ERROR: Could not find a version that satisfies the requirement报错
文章目录 步骤1:导出依赖 步骤2:离线下载依赖包 步骤3:进入新环境使用python安装依赖 整体思路如下: 首先根据项目需要导出依赖包,由于本地的python环境中其实安装了很多乱七八糟的包,这些 ...
- 全局Angular CLI版本大于本地版本
本文翻译自:Global Angular CLI version greater than local version When running ng serve I get this warning ...
最新文章
- 贾珈:自然语言处理中9个不可不知的研究热点(附视频)
- AI产品经理需了解的技术知识:语音识别技术(2)
- 基于Reddsion分布式的锁实现
- Sentinel 发布里程碑版本,添加集群流控功能
- 套接字编程——基于UDP协议
- Python8:logging Module
- ACS被集成到了Windows Azure Management Portal中
- b站用户画像2020_2020年抖音用户画像专栏报告(上)
- 项目创建多少个线程合适
- 【作业4】朗途职业规划测试
- 即不充值影视Vip,也不去电影院,为何Python爬虫师是这种人?
- 中国古代哲学 (基础知识)
- 湖南省中职学业水平考试复习试题(语文)
- FCC认证和3C认证区别
- 举个栗子!Tableau技巧(35):学做 南丁格尔 玫瑰图 Nightingale rose diagram
- 会议OA之我的会议(排座送审)
- 关于Django字段类型中 blank和null的区别
- 哲理故事与管理之道(21)-用情感激励下属
- 翻译:关于 Apache Pulsar 的多主题订阅 | 技术
- JAVA 语言程序设计与数据结构 教材课本源码 和 课后习题答案