首页
新闻
会员
周边
捐助
园子
·
关注
·
粉丝
·
会员
·
随便看看
·
消息
欢迎,请先
登录
或者
注册
。
登录
/
注册
闪存
博客
发言
小组
投递
新闻
提问
博问
添加
收藏
文库
问题反馈
问题列表
我关注的
我的博问
博问标签
提问
回答
被采纳
1
回答数
30
angular 项目报错 "error-handler.ts:20 TypeError: stackTrace.fromError is not a function"
这是园子博客后台升级到 angular 19 后解决升级问题中遇到的,浏览器控制台报错信息截图如下 对应的 typescript 代码 if (!environment.production) { i
1
回答数
30
Angular: 迁移到 Standalone Component 后 ViewChild 无法正常工作
项目从 angular 15 升级到 angular 19 之后,将 component 迁移到 standalone component,ng build 已经没有任何错误,但运行时通过 ViewC
1
回答数
30
angular 依赖注入问题:如何避免在很多 component 中注册同一个 class
下面的 class 在很多 component 中用到,在每个 standalone component 的 providers 中添加很麻烦,但又不能使用 providedIn: "root" 注册
1
回答数
30
升级至 angular 19 后报错:"NG05105: Unexpected synthetic property @tabSwitchMotion found"
升级至 angular 19 并且迁移至 standalone components 后运行时报错 main.ts:6 RuntimeError: NG05105: Unexpected synthe
1
回答数
30
angular 19 中 HttpClient 的依赖注入问题
园子博客后台升级至 angular 19 并改用 standalone bootstrapping api import { bootstrapApplication } from '@angular
1
回答数
30
vscode 中如何方便地在 angular compoment 的不同文件之间切换
也就是在同一个组件的 .ts 文件、.html 模版文件、.scss(或者 .less)样式文件之间切换
1
回答数
30
vscode 中如何对 tab 按字母进行排序
在 angular 开发中特别需要,这样同一个 component 的不同代码文件可以紧挨在一起
1
回答数
30
angular: standalone component 使用 [formControl] 的问题
下面的 component template 代码 <input [formControl]="control"> 已经添加了 FormsModule 的引用 imports: [FormsModul
1
回答数
30
angular standalone component 中使用 ngModel 的问题
将一个 component 转换为 standalone component <div> <cnb-spinner [show]="isLoading"> <cnb-editors-selector
1
回答数
30
在 Angular 19 中如何以懒加载的方式动态创建 Component
懒加载是是指 lazy 或者 defer 方式,动态创建是在运行时创建 Component,请问在 angular 19 中如何实现?
1
回答数
30
vscode 中编辑 angular component 的 html 文件时如何自动添加 import
如果下面的 html 代码 想根据 *ngIf 与 [ngClass],自动在对应的 .ts 文件添加 import import { NgClass, NgIf } from '@angular/c
1
回答数
30
Angular 项目使用 Standalone Components 时如何全局 import CommonModule
园子博客后台升级到 angular 19 后,将所有 component 都迁移到 standalone component,然后发现连最简单的 *ngIf 与 [ngClass] 无法使用 buil
1
回答数
30
eslint 对 .prettierrc.js 报错的问题
在 vsocde 中 eslint 对 .prettierrc.js 报错,请问如何解决这个问题? File is a CommonJS module; it may be converted to
1
回答数
30
qdrant pod 启动时报错:"Failed to connect to http://qdrant-1.qdrant-headless:6335/"
在 kubernets 集群上使用 helm 部署 qdrant,只部署了一个 replica,pod 在启动时日志中有下面的错误与警告,但 qdrant 可以正常使用 2024-12-27T23:0
1
回答数
30
ng-zorro-antd 升级后 nz-dropdown-menu 样式出现问题
从 angular 15 升级到 angular 19,从 ng-zorro-antd 15 升级到 ng-zorro-antd 19 之后,nz-dropdown-menu 出现问题 之前正常时是这
1
回答数
30
dotnet restore 时出现 MSB4018 错误
之前好好的,昨天磁盘空间被用完,清理出磁盘空间后,执行 dotnet restore 命令时会出现很多 MSB4018 错误 #23 5.027 /usr/share/dotnet/sdk/9.0.1
1
回答数
30
angular 19 中遇到 NzDropDownDirective 的依赖注入问题
下面的 Directive 实现,运行时会报错 NullInjectorError: No provider for t! @Directive({ providers: [NzDropDownDir
1
回答数
30
angular 测试中的依赖注入问题:"No provider for InjectionToken NZ_MODAL_DATA"
Component 代码如下 export class BlogCategoryEditComponent implements OnInit { constructor( @Inject(NZ_MO
1
回答数
30
angular 19 中如何通过 ng test 命令用 jest 运行测试
目前是通过 npm run test 命令运行的,对应的命令脚本如下: { "scripts": { "test": "node --experimental-vm-modules --no-warn
1
回答数
30
更新 jest.config.ts 后遇到 import 路径解析问题
angular 项目升级 jest 与 jest-preset-angular 之后,更新了 jest.config.ts import ngPreset from 'jest-preset-angu
1
回答数
30
angular 项目 jest 测试报错:"not provide an export named '$'"
angular 19, jest 29.7,错误信息如下: FAIL e2e/posts/post-edit.spec.ts ● Test suite failed to run SyntaxErro
1
回答数
30
angular 19 项目运行 test 报错:"Jest encountered an unexpected token"
angular 19 项目通过 jest 运行测试,报错 jest.config.ts 配置代码 import presets from 'jest-preset-angular/presets';
1
回答数
升级到 angular 19 后运行测试出现警告 "This preset is DEPRECATED"
从升级到 angular 15 升级到 angular 19 后,运行 test 出现下面的 warning > node --experimental-vm-modules --no-warning
1
回答数
30
升级到 angular 19 后运行测试报错:"Unexpected identifier 'assert'"
园子的博客后台从 angular 15 升级到 angular 19 后运行测试报错,错误信息如下 $ npm run test > node --experimental-vm-modules --
2
回答数
30
升级到 Angular 19 后 Firefox 中遇到奇怪的表格边框样式问题
园子的博客后台从 angular 15 升级到 angular 19 后,Firefox 中遇到一个奇怪的表格边框样式问题 Chrome 中正常,表格每行下方都有边框 对应的样式如下 Firefox
< Prev
1
2
3
4
5
6
7
8
9
10
11
···
69
Next >
dudu
园豆:28051
排名:6
博问搜索
关于博问
»
博问帮助
»
发现问题
»
我有建议