摘要: 解决方法,将server.ts的代码改成: const port = process.env['PORT'] || 4200; 端口号变成4200,it works 阅读全文
posted @ 2023-01-18 16:11 jahoon 阅读(36) 评论(0) 推荐(0) 编辑
摘要: Add this code in app.module.ts import { Injector, NgModule } from '@angular/core'; export let AppInjector: Injector; export class AppModule { construc 阅读全文
posted @ 2023-01-18 13:05 jahoon 阅读(53) 评论(0) 推荐(0) 编辑