{"action":"created","issue":{"url":"https://api.github.com/repos/compodoc/compodoc/issues/467","repository_url":"https://api.github.com/repos/compodoc/compodoc","labels_url":"https://api.github.com/repos/compodoc/compodoc/issues/467/labels{/name}","comments_url":"https://api.github.com/repos/compodoc/compodoc/issues/467/comments","events_url":"https://api.github.com/repos/compodoc/compodoc/issues/467/events","html_url":"https://github.com/compodoc/compodoc/issues/467","id":297018875,"number":467,"title":"[BUG] Unhandled Rejection at: Promise <rejected> TypeError: ts.isVariableStatement is not a function","user":{"login":"IceManOG","id":29892173,"avatar_url":"https://avatars0.githubusercontent.com/u/29892173?v=4","gravatar_id":"","url":"https://api.github.com/users/IceManOG","html_url":"https://github.com/IceManOG","followers_url":"https://api.github.com/users/IceManOG/followers","following_url":"https://api.github.com/users/IceManOG/following{/other_user}","gists_url":"https://api.github.com/users/IceManOG/gists{/gist_id}","starred_url":"https://api.github.com/users/IceManOG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IceManOG/subscriptions","organizations_url":"https://api.github.com/users/IceManOG/orgs","repos_url":"https://api.github.com/users/IceManOG/repos","events_url":"https://api.github.com/users/IceManOG/events{/privacy}","received_events_url":"https://api.github.com/users/IceManOG/received_events","type":"User","site_admin":false},"labels":[{"id":462968396,"url":"https://api.github.com/repos/compodoc/compodoc/labels/1.%20Type:%20Bug","name":"1. Type: Bug","color":"e11d21","default":false},{"id":622755500,"url":"https://api.github.com/repos/compodoc/compodoc/labels/Priority:%20High","name":"Priority: High","color":"eb6420","default":false},{"id":622758899,"url":"https://api.github.com/repos/compodoc/compodoc/labels/Status:%20Accepted","name":"Status: Accepted","color":"009800","default":false},{"id":623092049,"url":"https://api.github.com/repos/compodoc/compodoc/labels/Time:%20~1%20hour","name":"Time: ~1 hour","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/compodoc/compodoc/milestones/20","html_url":"https://github.com/compodoc/compodoc/milestone/20","labels_url":"https://api.github.com/repos/compodoc/compodoc/milestones/20/labels","id":3230489,"number":20,"title":"1.1.2","description":"","creator":{"login":"vogloblinsky","id":2841805,"avatar_url":"https://avatars3.githubusercontent.com/u/2841805?v=4","gravatar_id":"","url":"https://api.github.com/users/vogloblinsky","html_url":"https://github.com/vogloblinsky","followers_url":"https://api.github.com/users/vogloblinsky/followers","following_url":"https://api.github.com/users/vogloblinsky/following{/other_user}","gists_url":"https://api.github.com/users/vogloblinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/vogloblinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vogloblinsky/subscriptions","organizations_url":"https://api.github.com/users/vogloblinsky/orgs","repos_url":"https://api.github.com/users/vogloblinsky/repos","events_url":"https://api.github.com/users/vogloblinsky/events{/privacy}","received_events_url":"https://api.github.com/users/vogloblinsky/received_events","type":"User","site_admin":false},"open_issues":28,"closed_issues":6,"state":"open","created_at":"2018-03-30T07:22:58Z","updated_at":"2018-04-07T05:19:00Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2018-02-14T09:00:52Z","updated_at":"2018-04-07T05:40:49Z","closed_at":null,"author_association":"NONE","body":"##### **Overview of the issue**\r\n\r\nGettting this error when i try to run 'npm run doc:buildandserve'\r\n\r\n\r\n> Unhandled Rejection at: Promise {\r\n>   <rejected> TypeError: ts.isVariableStatement is not a function\r\n>     at /home/iceman/Bitbucket/TestApp/sample/src/main/resources/node_modules/@compodoc/compodoc/dist/index-cli.js:5538:24\r\n>     at Array.reduce (<anonymous>)\r\n>     at Dependencies.getRouteIO (/home/iceman/Bitbucket/TestApp/sample/src/main/resources/node_modules/@compodoc/compodoc/dist/index-cli.js:5537:41)\r\n>     at parseNode (/home/iceman/Bitbucket/TestApp/sample/src/main/resources/node_modules/@compodoc/compodoc/dist/index-cli.js:5111:36)\r\n>     at /home/iceman/Bitbucket/TestApp/sample/src/main/resources/node_modules/@compodoc/compodoc/dist/index-cli.js:5243:13\r\n>     at visitEachNode (/home/iceman/Bitbucket/TestApp/sample/src/main/resources/node_modules/typescript/lib/typescript.js:14785:30)\r\n>     at Object.forEachChild (/home/iceman/Bitbucket/TestApp/sample/src/main/resources/node_modules/typescript/lib/typescript.js:14959:24)\r\n>     at Dependencies.getSourceFileDecorators (/home/iceman/Bitbucket/TestApp/sample/src/main/resources/node_modules/@compodoc/compodoc/dist/index-cli.js:4891:12)\r\n>     at /home/iceman/Bitbucket/TestApp/sample/src/main/resources/node_modules/@compodoc/compodoc/dist/index-cli.js:4745:27\r\n>     at Array.map (<anonymous>) } reason: TypeError: ts.isVariableStatement is not a function\r\n>     at /home/iceman/Bitbucket/TestApp/sample/src/main/resources/node_modules/@compodoc/compodoc/dist/index-cli.js:5538:24\r\n>     at Array.reduce (<anonymous>)\r\n>     at Dependencies.getRouteIO (/home/iceman/Bitbucket/TestApp/sample/src/main/resources/node_modules/@compodoc/compodoc/dist/index-cli.js:5537:41)\r\n>     at parseNode (/home/iceman/Bitbucket/TestApp/sample/src/main/resources/node_modules/@compodoc/compodoc/dist/index-cli.js:5111:36)\r\n>     at /home/iceman/Bitbucket/TestApp/sample/src/main/resources/node_modules/@compodoc/compodoc/dist/index-cli.js:5243:13\r\n>     at visitEachNode (/home/iceman/Bitbucket/TestApp/sample/src/main/resources/node_modules/typescript/lib/typescript.js:14785:30)\r\n>     at Object.forEachChild (/home/iceman/Bitbucket/TestApp/sample/src/main/resources/node_modules/typescript/lib/typescript.js:14959:24)\r\n>     at Dependencies.getSourceFileDecorators (/home/iceman/Bitbucket/TestApp/sample/src/main/resources/node_modules/@compodoc/compodoc/dist/index-cli.js:4891:12)\r\n>     at /home/iceman/Bitbucket/TestApp/sample/src/main/resources/node_modules/@compodoc/compodoc/dist/index-cli.js:4745:27\r\n>     at Array.map (<anonymous>)\r\n\r\n##### **Operating System, Node.js, npm, compodoc version(s)**\r\n**OS : Ubuntu 16.04.3 LTS\r\nNoe.js : v8.9.1\r\nnpm : v8.9.1\r\nCompodoc : 1.0.6**\r\n\r\n##### **Angular configuration, a `package.json` file in the root folder**\r\n**package.json file** \r\n\r\n> {\r\n>   \"name\": \"web-buyer\",\r\n>   \"version\": \"0.0.0\",\r\n>   \"license\": \"MIT\",\r\n>   \"scripts\": {\r\n>     \"ng\": \"ng\",\r\n>     \"start\": \"ng serve\",\r\n>     \"doc:build\": \"compodoc -p src/tsconfig.app.json\",\r\n>     \"doc:serve\": \"compodoc -s\",\r\n>     \"doc:buildandserve\": \"compodoc -p src/tsconfig.app.json -s\",\r\n>     \"buildProd\": \"ng build --target=production -op static --aot\",\r\n>     \"build\": \"ng build -op static -e dev --stats-json\",\r\n>     \"test\": \"ng test\",\r\n>     \"lint\": \"ng lint\",\r\n>     \"e2e\": \"ng e2e\",\r\n>     \"bundle-report\": \"webpack-bundle-analyzer static/stats.json\"\r\n>   },\r\n>   \"private\": true,\r\n>   \"dependencies\": {\r\n>     \"@agm/core\": \"^1.0.0-beta.2\",\r\n>     \"@angular-mdl/core\": \"^4.0.8\",\r\n>     \"@angular-mdl/datepicker\": \"0.0.3\",\r\n>     \"@angular-mdl/popover\": \"^0.8.0\",\r\n>     \"@angular-mdl/select\": \"^0.11.1\",\r\n>     \"@angular/animations\": \"^4.3.6\",\r\n>     \"@angular/common\": \"^4.3.6\",\r\n>     \"@angular/compiler\": \"^4.3.6\",\r\n>     \"@angular/core\": \"^4.3.6\",\r\n>     \"@angular/forms\": \"^4.3.6\",\r\n>     \"@angular/http\": \"^4.3.6\",\r\n>     \"@angular/platform-browser\": \"^4.3.6\",\r\n>     \"@angular/platform-browser-dynamic\": \"^4.3.6\",\r\n>     \"@angular/router\": \"^4.3.6\",\r\n>     \"@ngrx/effects\": \"^4.1.1\",\r\n>     \"@ngrx/entity\": \"^4.1.1\",\r\n>     \"@ngrx/store\": \"^4.1.1\",\r\n>     \"@ngrx/store-devtools\": \"^4.1.1\",\r\n>     \"core-js\": \"^2.4.1\",\r\n>     \"libphonenumber-js\": \"^1.0.3\",\r\n>     \"lodash\": \"^4.17.4\",\r\n>     \"moment\": \"^2.19.2\",\r\n>     \"rxjs\": \"^5.4.2\",\r\n>     \"zone.js\": \"^0.8.14\"\r\n>   },\r\n>   \"devDependencies\": {\r\n>     \"@angular/cli\": \"1.4.1\",\r\n>     \"@angular/compiler-cli\": \"^4.3.6\",\r\n>     \"@angular/language-service\": \"^4.3.6\",\r\n>     \"@compodoc/compodoc\": \"^1.0.6\",\r\n>     \"@types/jasmine\": \"~2.5.53\",\r\n>     \"@types/jasminewd2\": \"~2.0.2\",\r\n>     \"@types/lodash\": \"^4.14.91\",\r\n>     \"@types/node\": \"~6.0.60\",\r\n>     \"codelyzer\": \"~3.1.1\",\r\n>     \"jasmine-core\": \"~2.6.2\",\r\n>     \"jasmine-spec-reporter\": \"~4.1.0\",\r\n>     \"karma\": \"~1.7.0\",\r\n>     \"karma-chrome-launcher\": \"~2.1.1\",\r\n>     \"karma-cli\": \"~1.0.1\",\r\n>     \"karma-coverage-istanbul-reporter\": \"^1.2.1\",\r\n>     \"karma-jasmine\": \"~1.1.0\",\r\n>     \"karma-jasmine-html-reporter\": \"^0.2.2\",\r\n>     \"node-sass\": \"^4.5.3\",\r\n>     \"protractor\": \"~5.1.2\",\r\n>     \"ts-helpers\": \"^1.1.1\",\r\n>     \"ts-node\": \"~3.2.0\",\r\n>     \"tslint\": \"~5.3.2\",\r\n>     \"typescript\": \"~2.3.3\",\r\n>     \"webpack-bundle-analyzer\": \"^2.9.2\"\r\n>   }\r\n> }\r\n\r\n##### **Compodoc installed globally or locally ?**\r\nI have installed compodoc locally\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/compodoc/compodoc/issues/comments/379434223","html_url":"https://github.com/compodoc/compodoc/issues/467#issuecomment-379434223","issue_url":"https://api.github.com/repos/compodoc/compodoc/issues/467","id":379434223,"user":{"login":"vogloblinsky","id":2841805,"avatar_url":"https://avatars3.githubusercontent.com/u/2841805?v=4","gravatar_id":"","url":"https://api.github.com/users/vogloblinsky","html_url":"https://github.com/vogloblinsky","followers_url":"https://api.github.com/users/vogloblinsky/followers","following_url":"https://api.github.com/users/vogloblinsky/following{/other_user}","gists_url":"https://api.github.com/users/vogloblinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/vogloblinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vogloblinsky/subscriptions","organizations_url":"https://api.github.com/users/vogloblinsky/orgs","repos_url":"https://api.github.com/users/vogloblinsky/repos","events_url":"https://api.github.com/users/vogloblinsky/events{/privacy}","received_events_url":"https://api.github.com/users/vogloblinsky/received_events","type":"User","site_admin":false},"created_at":"2018-04-07T05:40:49Z","updated_at":"2018-04-07T05:40:49Z","author_association":"CONTRIBUTOR","body":"@kondzina \r\nCould you delete your entire node_module folder, run a `nom i` and relaunch compodoc.\r\nCannot reproduce your issue."}}
{"actor":{"display_login":"vogloblinsky"}}