我正在尝试在我的angular 2项目中使用Aframe。我在我的index.html中导入了这个库,但仍然不能使用aframe指令,例如: <a-box color="red"></a-box>抛出错误If 'a-box' is an Angular component, then verify that
我在Angular universal的Angular 10项目中使用了PubNub。我使用的是pubnub-angular2,它没有objects.setmetadatachannel()方法,所以我使用PubNub。由于PubNub是SSR,它在普通项目中工作得很好,但在JavaScript模式下构建时会出现错误。npm run build:ssr没有问题,但npm run serve:ssr给出了错误。
我意识到我在我的项目中只在一个地方使用了@angular/animations,所以我用一个纯粹的css解决方案替换了它,并将它与BrowserAnimationsModule一起从我的项目中删除。我得到了这个错误: An unhandled exception occurred: The target entry-point "@angular/material/dialog" has missing
当我试图在代码中使用导入语句:Cannot find module '@angular/http/src/static_response' or its corresponding type declarations:import { Response } from "@angular/http/src/static_response";时,我从v12项目中得到了一个错误import { Response
我有一个Angular 2应用程序运行得很好,但升级angular cli后,我无法使用ng serve为我的应用程序提供服务。我有以下错误:Version of @angular/compiler-cli needs to be 2.3.1@angular/cli@latest但是,正如我所说的,我不能使用ng serve为我的