Angular常见错误

GET / or compiler error can't resolve all parameters for ApplicationModule: (?).
Just follow these simple steps :
 
1 Install core-js modeule.
npm i core-js
 
2 In the polyfills.ts file add the import statement
import 'core-js/es7/reflect';
 
3 In main.ts file add the import statements
import 'core-js/es6/reflect';
import 'core-js/es7/reflect';
 
4 check tsconfig
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
 
Angular Custom Webpack
 
 
posted @   内心澎湃的水晶侠  阅读(56)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· ollama系列1:轻松3步本地部署deepseek,普通电脑可用
· 按钮权限的设计及实现
· 【杂谈】分布式事务——高大上的无用知识?
点击右上角即可分享
微信分享提示