{"action":"created","issue":{"url":"https://api.github.com/repos/AnteaterKit/angular2-yandex-maps/issues/4","repository_url":"https://api.github.com/repos/AnteaterKit/angular2-yandex-maps","labels_url":"https://api.github.com/repos/AnteaterKit/angular2-yandex-maps/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/AnteaterKit/angular2-yandex-maps/issues/4/comments","events_url":"https://api.github.com/repos/AnteaterKit/angular2-yandex-maps/issues/4/events","html_url":"https://github.com/AnteaterKit/angular2-yandex-maps/issues/4","id":221163399,"number":4,"title":"Ошибка при подключении модуля на angular/common 4.0.1","user":{"login":"flashart92","id":9466345,"avatar_url":"https://avatars2.githubusercontent.com/u/9466345?v=4","gravatar_id":"","url":"https://api.github.com/users/flashart92","html_url":"https://github.com/flashart92","followers_url":"https://api.github.com/users/flashart92/followers","following_url":"https://api.github.com/users/flashart92/following{/other_user}","gists_url":"https://api.github.com/users/flashart92/gists{/gist_id}","starred_url":"https://api.github.com/users/flashart92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flashart92/subscriptions","organizations_url":"https://api.github.com/users/flashart92/orgs","repos_url":"https://api.github.com/users/flashart92/repos","events_url":"https://api.github.com/users/flashart92/events{/privacy}","received_events_url":"https://api.github.com/users/flashart92/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"AnteaterKit","id":5115677,"avatar_url":"https://avatars2.githubusercontent.com/u/5115677?v=4","gravatar_id":"","url":"https://api.github.com/users/AnteaterKit","html_url":"https://github.com/AnteaterKit","followers_url":"https://api.github.com/users/AnteaterKit/followers","following_url":"https://api.github.com/users/AnteaterKit/following{/other_user}","gists_url":"https://api.github.com/users/AnteaterKit/gists{/gist_id}","starred_url":"https://api.github.com/users/AnteaterKit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnteaterKit/subscriptions","organizations_url":"https://api.github.com/users/AnteaterKit/orgs","repos_url":"https://api.github.com/users/AnteaterKit/repos","events_url":"https://api.github.com/users/AnteaterKit/events{/privacy}","received_events_url":"https://api.github.com/users/AnteaterKit/received_events","type":"User","site_admin":false},"assignees":[{"login":"AnteaterKit","id":5115677,"avatar_url":"https://avatars2.githubusercontent.com/u/5115677?v=4","gravatar_id":"","url":"https://api.github.com/users/AnteaterKit","html_url":"https://github.com/AnteaterKit","followers_url":"https://api.github.com/users/AnteaterKit/followers","following_url":"https://api.github.com/users/AnteaterKit/following{/other_user}","gists_url":"https://api.github.com/users/AnteaterKit/gists{/gist_id}","starred_url":"https://api.github.com/users/AnteaterKit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnteaterKit/subscriptions","organizations_url":"https://api.github.com/users/AnteaterKit/orgs","repos_url":"https://api.github.com/users/AnteaterKit/repos","events_url":"https://api.github.com/users/AnteaterKit/events{/privacy}","received_events_url":"https://api.github.com/users/AnteaterKit/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2017-04-12T06:27:19Z","updated_at":"2017-08-03T15:18:11Z","closed_at":null,"body":"При импортировании модуля \"YaCoreModule.forRoot()\" появляется ошибка.\r\nСкрин package.json http://joxi.ru/nAyYvLgS1RVjAZ\r\n![image](https://cloud.githubusercontent.com/assets/9466345/24944397/77be020a-1f74-11e7-846a-50ea0ac1d771.png)\r\nСкрин модуля, в которые требуется провести импорт http://joxi.ru/E2peEWxHZ0beAY\r\n![image](https://cloud.githubusercontent.com/assets/9466345/24944403/8108b332-1f74-11e7-88ab-c31c8ff551d2.png)\r\nТрейс ошибки:\r\n\"Uncaught (in promise): Error: Unexpected value '[object Object]' imported by the module 'DepositModule'. Please add a @NgModule annotation.\r\nError: Unexpected value '[object Object]' imported by the module 'DepositModule'. Please add a @NgModule annotation.\r\n    at Error.ZoneAwareError (http://localhost:8080/web-polyfills.js:7863:33)\r\n    at ZoneAwareError (http://localhost:8080/web-polyfills.js:7860:35)\r\n    at syntaxError (http://localhost:8080/web-common.js:6532:34)\r\n    at http://localhost:8080/web-common.js:18999:44\r\n    at Array.forEach (native)\r\n    at CompileMetadataResolver../node_modules/@angular/compiler/@angular/compiler.es5.js.CompileMetadataResolver.getNgModuleMetadata (http://localhost:8080/web-common.js:18982:49)\r\n    at JitCompiler../node_modules/@angular/compiler/@angular/compiler.es5.js.JitCompiler._loadModules (http://localhost:8080/web-common.js:30107:64)\r\n    at JitCompiler../node_modules/@angular/compiler/@angular/compiler.es5.js.JitCompiler._compileModuleAndComponents (http://localhost:8080/web-common.js:30066:52)\r\n    at JitCompiler../node_modules/@angular/compiler/@angular/compiler.es5.js.JitCompiler.compileModuleAsync (http://localhost:8080/web-common.js:30028:21)\r\n    at ModuleBoundCompiler../node_modules/@angular/compiler/@angular/compiler.es5.js.ModuleBoundCompiler.compileModuleAsync (http://localhost:8080/web-common.js:30396:31)\r\n    at MergeMapSubscriber.project (http://localhost:8080/web-common.js:58659:140)\r\n    at MergeMapSubscriber../node_modules/rxjs/operator/mergeMap.js.MergeMapSubscriber._tryNext (http://localhost:8080/web-common.js:92008:27)\r\n    at MergeMapSubscriber../node_modules/rxjs/operator/mergeMap.js.MergeMapSubscriber._next (http://localhost:8080/web-common.js:91998:18)\r\n    at MergeMapSubscriber../node_modules/rxjs/Subscriber.js.Subscriber.next (http://localhost:8080/web-common.js:88818:18)\r\n    at http://localhost:8080/web-common.js:90365:36\r\n    at ZoneDelegate.webpackJsonp../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (http://localhost:8080/web-polyfills.js:7235:26)\r\n    at Object.onInvoke (http://localhost:8080/web-common.js:35220:37)\r\n    at ZoneDelegate.webpackJsonp../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (http://localhost:8080/web-polyfills.js:7234:32)\r\n    at Zone.webpackJsonp../node_modules/zone.js/dist/zone.js.Zone.run (http://localhost:8080/web-polyfills.js:7031:43)\r\n    at http://localhost:8080/web-polyfills.js:7584:57\r\n    at ZoneDelegate.webpackJsonp../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (http://localhost:8080/web-polyfills.js:7268:31)\r\n    at Object.onInvokeTask (http://localhost:8080/web-common.js:35211:37)\r\n    at ZoneDelegate.webpackJsonp../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (http://localhost:8080/web-polyfills.js:7267:36)\r\n    at Zone.webpackJsonp../node_modules/zone.js/dist/zone.js.Zone.runTask (http://localhost:8080/web-polyfills.js:7071:47)\r\n    at drainMicroTaskQueue (http://localhost:8080/web-polyfills.js:7434:35)\""},"comment":{"url":"https://api.github.com/repos/AnteaterKit/angular2-yandex-maps/issues/comments/320000684","html_url":"https://github.com/AnteaterKit/angular2-yandex-maps/issues/4#issuecomment-320000684","issue_url":"https://api.github.com/repos/AnteaterKit/angular2-yandex-maps/issues/4","id":320000684,"user":{"login":"Dok11","id":2697890,"avatar_url":"https://avatars0.githubusercontent.com/u/2697890?v=4","gravatar_id":"","url":"https://api.github.com/users/Dok11","html_url":"https://github.com/Dok11","followers_url":"https://api.github.com/users/Dok11/followers","following_url":"https://api.github.com/users/Dok11/following{/other_user}","gists_url":"https://api.github.com/users/Dok11/gists{/gist_id}","starred_url":"https://api.github.com/users/Dok11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dok11/subscriptions","organizations_url":"https://api.github.com/users/Dok11/orgs","repos_url":"https://api.github.com/users/Dok11/repos","events_url":"https://api.github.com/users/Dok11/events{/privacy}","received_events_url":"https://api.github.com/users/Dok11/received_events","type":"User","site_admin":false},"created_at":"2017-08-03T15:18:11Z","updated_at":"2017-08-03T15:18:11Z","body":"@BGXi да ну нафиг)\r\nТак тоже норм\r\n```ts\r\n\tprivate setYaMapScript(): void {\r\n\t\tconst map = this.render.createElement('script');\r\n\t\tmap.type = 'text/javascript';\r\n\t\tmap.src = `//api-maps.yandex.ru/2.1/?lang=ru_RU`;\r\n\t\tmap.onload = () => { /* logic */ };\r\n\r\n\t\tthis.render.appendChild(this.el.nativeElement, map);\r\n\t}\r\n```"}}
{"actor":{"display_login":"Dok11"}}