AnteaterKit / angular2-yandex-maps

Angular 2 components Yandex Maps.
27 stars 23 forks source link

angular-cli не собирает build, aot компиляция #5

Open AnteaterKit opened 7 years ago

AnteaterKit commented 7 years ago

Hi, I ran into the connection problem of your library for Yandex angular maps. Can you help solve the problem?

ERROR in Error encountered resolving symbol values statically. Calling function 'YaCoreModule', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol AppModule in /home/artem-123/workspace/bycard_mobile_front/src/app/app.module.ts, resolving symbol AppModule in /home/artem-123/workspace/bycard_mobile_front/src/app/app.module.ts

This error I get when building a build, but when working out everything is compiled normally, which is wrong? Here I am connecting:

import { YaCoreModule } from 'angular2-yandex-maps'; imports: [ YaCoreModule.forRoot() ],

What is my problem? Thank you!

BarsTheme commented 7 years ago

Такая же ошибка, мне интересно решили это как-то?

stepjet commented 7 years ago

Поставил как компонент приложения. Не через npm. Все работает.

rensfo commented 7 years ago

Такая же проблема

Gorniv commented 6 years ago

пробуйте новую версию.