{"action":"created","issue":{"url":"https://api.github.com/repos/dimpu/angular2-markdown/issues/1","repository_url":"https://api.github.com/repos/dimpu/angular2-markdown","labels_url":"https://api.github.com/repos/dimpu/angular2-markdown/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/dimpu/angular2-markdown/issues/1/comments","events_url":"https://api.github.com/repos/dimpu/angular2-markdown/issues/1/events","html_url":"https://github.com/dimpu/angular2-markdown/issues/1","id":183931389,"number":1,"title":"@type/PrismJS is not a module error.","user":{"login":"dispensable","id":3339663,"avatar_url":"https://avatars.githubusercontent.com/u/3339663?v=3","gravatar_id":"","url":"https://api.github.com/users/dispensable","html_url":"https://github.com/dispensable","followers_url":"https://api.github.com/users/dispensable/followers","following_url":"https://api.github.com/users/dispensable/following{/other_user}","gists_url":"https://api.github.com/users/dispensable/gists{/gist_id}","starred_url":"https://api.github.com/users/dispensable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dispensable/subscriptions","organizations_url":"https://api.github.com/users/dispensable/orgs","repos_url":"https://api.github.com/users/dispensable/repos","events_url":"https://api.github.com/users/dispensable/events{/privacy}","received_events_url":"https://api.github.com/users/dispensable/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-19T11:05:49Z","updated_at":"2016-10-19T12:14:30Z","closed_at":null,"body":"Hi, I am trying to use this directive module in my little project, but when I import and compile with angular-cli, it shows:\r\nERROR in [default] node_modules/angular2-markdown/src/app/markdown/markdown.directive.ts:5:23 \r\nFile 'node_modules/@types/PrismJS/index.d.ts' is not a module.\r\n\r\nI have tried to make prism type be a module with:\r\nexport = Prism;\r\n\r\nIt can be compiled, BUT it can't work either. \r\n\r\nIn the console:\r\nUncaught Error: Unexpected value 'MarkdownModule' imported by the module 'PublishModule'\r\n\r\nAny advice for solving this problem will be appreciated.\r\n"},"comment":{"url":"https://api.github.com/repos/dimpu/angular2-markdown/issues/comments/254794781","html_url":"https://github.com/dimpu/angular2-markdown/issues/1#issuecomment-254794781","issue_url":"https://api.github.com/repos/dimpu/angular2-markdown/issues/1","id":254794781,"user":{"login":"dispensable","id":3339663,"avatar_url":"https://avatars.githubusercontent.com/u/3339663?v=3","gravatar_id":"","url":"https://api.github.com/users/dispensable","html_url":"https://github.com/dispensable","followers_url":"https://api.github.com/users/dispensable/followers","following_url":"https://api.github.com/users/dispensable/following{/other_user}","gists_url":"https://api.github.com/users/dispensable/gists{/gist_id}","starred_url":"https://api.github.com/users/dispensable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dispensable/subscriptions","organizations_url":"https://api.github.com/users/dispensable/orgs","repos_url":"https://api.github.com/users/dispensable/repos","events_url":"https://api.github.com/users/dispensable/events{/privacy}","received_events_url":"https://api.github.com/users/dispensable/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T12:14:30Z","updated_at":"2016-10-19T12:14:30Z","body":"I just solved it by copying markdown.directive.ts and markdown.module.ts from node-module folder to my own folder. Import them as my own module, and it worked.\r\nSeems like the npm's problem?"}}
{"actor":{"display_login":"dispensable"}}