{"action":"created","issue":{"url":"https://api.github.com/repos/artemsky/ng-snotify/issues/59","repository_url":"https://api.github.com/repos/artemsky/ng-snotify","labels_url":"https://api.github.com/repos/artemsky/ng-snotify/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/artemsky/ng-snotify/issues/59/comments","events_url":"https://api.github.com/repos/artemsky/ng-snotify/issues/59/events","html_url":"https://github.com/artemsky/ng-snotify/issues/59","id":341916469,"node_id":"MDU6SXNzdWUzNDE5MTY0Njk=","number":59,"title":"Server Side Rendering not supported","user":{"login":"vugar005","id":28726265,"node_id":"MDQ6VXNlcjI4NzI2MjY1","avatar_url":"https://avatars2.githubusercontent.com/u/28726265?v=4","gravatar_id":"","url":"https://api.github.com/users/vugar005","html_url":"https://github.com/vugar005","followers_url":"https://api.github.com/users/vugar005/followers","following_url":"https://api.github.com/users/vugar005/following{/other_user}","gists_url":"https://api.github.com/users/vugar005/gists{/gist_id}","starred_url":"https://api.github.com/users/vugar005/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vugar005/subscriptions","organizations_url":"https://api.github.com/users/vugar005/orgs","repos_url":"https://api.github.com/users/vugar005/repos","events_url":"https://api.github.com/users/vugar005/events{/privacy}","received_events_url":"https://api.github.com/users/vugar005/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-17T13:20:40Z","updated_at":"2018-12-02T19:29:34Z","closed_at":null,"author_association":"NONE","body":"Hi\r\nI am trying to add SSR feature with Angular Universal to project \r\nwhen trying to prerender below error emitted\r\n```\r\nE:\\vugar\\ESAS\\node_modules\\ng-snotify\\index.js:1\r\n(function (exports, require, module, __filename, __dirname) { import { ChangeDetectionStrategy, Component, EventEmitter, Inject, Injectable, Input, NgModule, Output, Pipe, ViewEncapsulation } from '@angular/core';\r\n                                                                     ^\r\n\r\nSyntaxError: Unexpected token {\r\n    at new Script (vm.js:74:7)\r\n    at createScript (vm.js:246:10)\r\n    at Object.runInThisContext (vm.js:298:10)\r\n    at Module._compile (internal/modules/cjs/loader.js:670:28)\r\n    at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)\r\n    at Module.load (internal/modules/cjs/loader.js:612:32)\r\n    at tryModuleLoad (internal/modules/cjs/loader.js:551:12)\r\n    at Function.Module._load (internal/modules/cjs/loader.js:543:3)\r\n    at Module.require (internal/modules/cjs/loader.js:650:17)\r\n    at require (internal/modules/cjs/helpers.js:20:18)\r\n```\r\n`<ng-snotify></ng-snotify>` is included in app.component.html.\r\n \"ng-snotify\": \"^4.3.1\",\r\n  \"@angular/core\": \"^6.0.3\",\r\nCan you please fix this issue? It does not allow server side rendering.\r\nKind Regards"},"comment":{"url":"https://api.github.com/repos/artemsky/ng-snotify/issues/comments/443534873","html_url":"https://github.com/artemsky/ng-snotify/issues/59#issuecomment-443534873","issue_url":"https://api.github.com/repos/artemsky/ng-snotify/issues/59","id":443534873,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzUzNDg3Mw==","user":{"login":"ohabash","id":15847500,"node_id":"MDQ6VXNlcjE1ODQ3NTAw","avatar_url":"https://avatars3.githubusercontent.com/u/15847500?v=4","gravatar_id":"","url":"https://api.github.com/users/ohabash","html_url":"https://github.com/ohabash","followers_url":"https://api.github.com/users/ohabash/followers","following_url":"https://api.github.com/users/ohabash/following{/other_user}","gists_url":"https://api.github.com/users/ohabash/gists{/gist_id}","starred_url":"https://api.github.com/users/ohabash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohabash/subscriptions","organizations_url":"https://api.github.com/users/ohabash/orgs","repos_url":"https://api.github.com/users/ohabash/repos","events_url":"https://api.github.com/users/ohabash/events{/privacy}","received_events_url":"https://api.github.com/users/ohabash/received_events","type":"User","site_admin":false},"created_at":"2018-12-02T19:29:34Z","updated_at":"2018-12-02T19:29:34Z","author_association":"NONE","body":"I have the same problem did you ever find a solution?\r\n\r\n>.../node_modules/ng-snotify/index.js:1 \r\n \r\n>(function (exports, require, module, __filename, __dirname) { import { ChangeDetectionStrategy, Component, EventEmitter, Inject, Injectable, Input, NgModule, Output, Pipe, ViewEncapsulation } from '@angular/core'; ^^^^^^ SyntaxError: Unexpected token import\r\n"}}
{"actor":{"display_login":"ohabash"}}