{"action":"created","issue":{"url":"https://api.github.com/repos/mendix/generator-mendix/issues/21","repository_url":"https://api.github.com/repos/mendix/generator-mendix","labels_url":"https://api.github.com/repos/mendix/generator-mendix/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/mendix/generator-mendix/issues/21/comments","events_url":"https://api.github.com/repos/mendix/generator-mendix/issues/21/events","html_url":"https://github.com/mendix/generator-mendix/issues/21","id":191010770,"number":21,"title":"Error when generating widget","user":{"login":"Marnix-IxD","id":1084956,"avatar_url":"https://avatars.githubusercontent.com/u/1084956?v=3","gravatar_id":"","url":"https://api.github.com/users/Marnix-IxD","html_url":"https://github.com/Marnix-IxD","followers_url":"https://api.github.com/users/Marnix-IxD/followers","following_url":"https://api.github.com/users/Marnix-IxD/following{/other_user}","gists_url":"https://api.github.com/users/Marnix-IxD/gists{/gist_id}","starred_url":"https://api.github.com/users/Marnix-IxD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marnix-IxD/subscriptions","organizations_url":"https://api.github.com/users/Marnix-IxD/orgs","repos_url":"https://api.github.com/users/Marnix-IxD/repos","events_url":"https://api.github.com/users/Marnix-IxD/events{/privacy}","received_events_url":"https://api.github.com/users/Marnix-IxD/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-11-22T13:47:04Z","updated_at":"2016-11-23T14:50:57Z","closed_at":null,"body":"I'm using the Webstorm Javascript development environment, with my node / yeoman setup I get the following error when generating the widget, does anyone have an idea how to fix this?\r\n```\r\n  __  ____   __           _     _            _    \r\n |  \\/  \\ \\ / /          (_)   | |          | |   \r\n | \\  / |\\ V /  __      ___  __| | __ _  ___| |_  \r\n | |\\/| | > <   \\ \\ /\\ / / |/ _` |/ _` |/ _ \\ __| \r\n | |  | |/ . \\   \\ V  V /| | (_| | (_| |  __/ |_  \r\n |_|  |_/_/ \\_\\   \\_/\\_/ |_|\\__,_|\\__, |\\___|\\__| \r\n                                   __/ |          \r\n                                  |___/           \r\n Generator, version: 2.0.1\r\n Issues? Please report them at : https://github.com/mendix/generator-mendix/issues\r\n\r\nevents.js:160\r\n      throw er; // Unhandled 'error' event\r\n      ^\r\n\r\nTypeError: this.env.adapter.prompt(...).then is not a function\r\n    at constructor.Base.prompt (C:\\Users\\username\\AppData\\Roaming\\npm\\node_modules\\generator-mendix\\node_modules\\yeoman-generator\\lib\\base.js:240:45)\r\n    at constructor.prompting (C:\\Users\\username\\AppData\\Roaming\\npm\\node_modules\\generator-mendix\\generators\\app\\index.js:93:10)\r\n    at Object.<anonymous> (C:\\Users\\username\\AppData\\Roaming\\npm\\node_modules\\generator-mendix\\node_modules\\yeoman-generator\\lib\\base.js:439:23)\r\n    at C:\\Users\\username\\AppData\\Roaming\\npm\\node_modules\\generator-mendix\\node_modules\\run-async\\index.js:26:25\r\n    at C:\\Users\\username\\AppData\\Roaming\\npm\\node_modules\\generator-mendix\\node_modules\\run-async\\index.js:25:19\r\n    at C:\\Users\\username\\AppData\\Roaming\\npm\\node_modules\\generator-mendix\\node_modules\\yeoman-generator\\lib\\base.js:440:9\r\n    at runCallback (timers.js:637:20)\r\n    at tryOnImmediate (timers.js:610:5)\r\n    at processImmediate [as _immediateCallback] (timers.js:582:5)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/mendix/generator-mendix/issues/comments/262533798","html_url":"https://github.com/mendix/generator-mendix/issues/21#issuecomment-262533798","issue_url":"https://api.github.com/repos/mendix/generator-mendix/issues/21","id":262533798,"user":{"login":"Marnix-IxD","id":1084956,"avatar_url":"https://avatars.githubusercontent.com/u/1084956?v=3","gravatar_id":"","url":"https://api.github.com/users/Marnix-IxD","html_url":"https://github.com/Marnix-IxD","followers_url":"https://api.github.com/users/Marnix-IxD/followers","following_url":"https://api.github.com/users/Marnix-IxD/following{/other_user}","gists_url":"https://api.github.com/users/Marnix-IxD/gists{/gist_id}","starred_url":"https://api.github.com/users/Marnix-IxD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marnix-IxD/subscriptions","organizations_url":"https://api.github.com/users/Marnix-IxD/orgs","repos_url":"https://api.github.com/users/Marnix-IxD/repos","events_url":"https://api.github.com/users/Marnix-IxD/events{/privacy}","received_events_url":"https://api.github.com/users/Marnix-IxD/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T14:50:57Z","updated_at":"2016-11-23T14:50:57Z","body":"Basically you select a project type, and then it allows for using installed generators."}}
{"actor":{"display_login":"Marnix-IxD"}}