gpt4 book ai didi

angular - 构建 Angular 谷歌地图 AGM 时出错

转载 作者:行者123 更新时间:2023-12-05 00:55:49 25 4
gpt4 key购买 nike

我的 Angular 应用程序无法创建产品版本。我用过 AGM( Angular 谷歌地图)。我遵循了每一步:

Installing "@agm/core": "^3.0.0-beta.0"

import { AgmCoreModule } from '@agm/core';

AgmCoreModule.forRoot({ apiKey: '*********************', libraries: ["places"] }),

ERROR in Directive ɵb in E:/omni-channel-web/omni-web/node_modules/@agm/core/agm-core.d.ts has no selector, please add it! Cannot determine the module for class ɵb in E:/omni-channel-web/omni-web/node_modules/@agm/core/agm-core.d.ts! Add ɵb to the NgModule to fix it.

有人可以帮帮我吗,我的头要断了2天

最佳答案

对于 Angular 8 使用这个:

npm install @agm/core@1

关于angular - 构建 Angular 谷歌地图 AGM 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63473687/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com