{"action":"created","issue":{"url":"https://api.github.com/repos/cmderdev/cmder/issues/678","labels_url":"https://api.github.com/repos/cmderdev/cmder/issues/678/labels{/name}","comments_url":"https://api.github.com/repos/cmderdev/cmder/issues/678/comments","events_url":"https://api.github.com/repos/cmderdev/cmder/issues/678/events","html_url":"https://github.com/cmderdev/cmder/issues/678","id":113090190,"number":678,"title":"Error in NPM-Prompt","user":{"login":"cee-kay","id":3416820,"avatar_url":"https://avatars.githubusercontent.com/u/3416820?v=3","gravatar_id":"","url":"https://api.github.com/users/cee-kay","html_url":"https://github.com/cee-kay","followers_url":"https://api.github.com/users/cee-kay/followers","following_url":"https://api.github.com/users/cee-kay/following{/other_user}","gists_url":"https://api.github.com/users/cee-kay/gists{/gist_id}","starred_url":"https://api.github.com/users/cee-kay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cee-kay/subscriptions","organizations_url":"https://api.github.com/users/cee-kay/orgs","repos_url":"https://api.github.com/users/cee-kay/repos","events_url":"https://api.github.com/users/cee-kay/events{/privacy}","received_events_url":"https://api.github.com/users/cee-kay/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cmderdev/cmder/labels/upstream:%20clink-completions","name":"upstream: clink-completions","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-23T20:05:27Z","updated_at":"2015-10-24T16:02:32Z","closed_at":"2015-10-24T16:02:32Z","body":"Hi Guys,\r\n\r\nI guess i found a problem with the npm-prompt in cmder version 1.29\r\nIf the package.json file is missing the name and/or version property, the prompt will crash with\r\n`cmder/vendor/clink-completions/npm_prompt.lua:11: attempt to concatenate local 'package) nil value`\r\nand leaving current folder line like this:\r\n `C:\\current\\folder {git}{hg}`\r\n\r\nUnfortunately I don't know LUA at the moment, so can someone reproduce this issue?\r\n\r\nside note: you get this kind of package.json if you use the yeoman generator 'webapp' in the version 1.1.0. [Yeoman Webapp](https://github.com/yeoman/generator-webapp)\r\n"},"comment":{"url":"https://api.github.com/repos/cmderdev/cmder/issues/comments/150829306","html_url":"https://github.com/cmderdev/cmder/issues/678#issuecomment-150829306","issue_url":"https://api.github.com/repos/cmderdev/cmder/issues/678","id":150829306,"user":{"login":"Stanzilla","id":75278,"avatar_url":"https://avatars.githubusercontent.com/u/75278?v=3","gravatar_id":"","url":"https://api.github.com/users/Stanzilla","html_url":"https://github.com/Stanzilla","followers_url":"https://api.github.com/users/Stanzilla/followers","following_url":"https://api.github.com/users/Stanzilla/following{/other_user}","gists_url":"https://api.github.com/users/Stanzilla/gists{/gist_id}","starred_url":"https://api.github.com/users/Stanzilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stanzilla/subscriptions","organizations_url":"https://api.github.com/users/Stanzilla/orgs","repos_url":"https://api.github.com/users/Stanzilla/repos","events_url":"https://api.github.com/users/Stanzilla/events{/privacy}","received_events_url":"https://api.github.com/users/Stanzilla/received_events","type":"User","site_admin":false},"created_at":"2015-10-24T16:02:32Z","updated_at":"2015-10-24T16:02:32Z","body":"Thanks!"}}