Comments (7)
from ng-devui-admin.
从截图报错看,可排查你的项目是否为使用cli@12版本创建
使用 npm i -g @angular/cli@11,全局安装11版本cli
from ng-devui-admin.
npm i -g @angular/cli@11 切到11后
npm start 还是一样
from ng-devui-admin.
重新install cli后 需要重新使用cli新建一个项目 安装对应版本依赖哦
from ng-devui-admin.
是的。 除了 cli@11 其他都是最新的版本, 清空目录, 清空缓存全新安装的。
应该是npm 7最新的问题, 还有一个可能是amd cpu 有提示警告 。
npm 7中引入的一项新功能是自动安装peer dependencies。在npm的之前版本(4-6)中,peer dependencies冲突会有版本不兼容的警告,但仍会安装依赖并不会抛出错误。在npm 7中,如果存在无法自动解决的依赖冲突,将会阻止安装。
可以通过使--force选项重新安装来绕过冲突,或者选择--legacy-peer-deps选项peer dependencies的依赖关系(类似于npm版本4-6)。
由于许多包都依赖宽松的peer dependencies解析,npm 7将打印警告并解决包依赖树中存在的大多数同级冲突,因此这些冲突不能手动处理。要在所有层级强制执行严格正确的peer dependencies依赖关系,请使用--strict-peer-deps选项。
from ng-devui-admin.
加 --force 解决了
from ng-devui-admin.
这样啊,我们确实还没有在npm7下测试过。
我们下来也在amd + npm7进行安装测试,尝试复现并解决该问题。
抱歉之前回复过于主观了,希望收到你使用过程中更多的建议。
from ng-devui-admin.
Related Issues (20)
- npm 版本未和现有 release 版本同步 HOT 1
- [BUG]Error: Module not found: Error: Can't resolve '@angular/cdk/clipboard'
- [BUG] 使用区块报错
- [BUG]路由错误,导致新建的页面和区块访问不了 HOT 1
- DevUI Admin:0行代码搭建后台管理系统 HOT 4
- [建议] 建议对ng 13进行适配,使用13启动起来,全是报错的信息 HOT 1
- 该项目已经停止维护了吗? HOT 1
- 手动添加页面的<d-data-table>有错[BUG] HOT 1
- [Suggest] Has any schedule to support devui 14 version ?
- [BUG]ng add ng-devui-admin error HOT 2
- [BUG] add ng-devui-admin 在install 阶段报错
- [BUG]ng add ng-devui-admin时报错
- [BUG]Cannot read properties of undefined (reading 'sourceRoot') HOT 4
- [BUG] ENOENT: no such file or directory, open 'xxxxxx/node_modules/tsconfig.json' HOT 11
- [BUG]修改布局样式,刷新页面不生效,只有清除浏览器缓存才能生效 HOT 1
- [BUG] DevUI Admin 表单布局中 多列表单 对应的roles 多选显示不正确
- 🔢 DevUI Admin V3 HOT 1
- 想同步使用 DevUI 16.2.0 版本,Angular 版本可以适配一下吗
- [BUG] error NG8001: 'da-analysis-page' is not a known element:
- [BUG] many echarts warnings in browser console
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ng-devui-admin.