{"action":"closed","issue":{"url":"https://api.github.com/repos/mediamonks/generator-richmedia-temple/issues/13","repository_url":"https://api.github.com/repos/mediamonks/generator-richmedia-temple","labels_url":"https://api.github.com/repos/mediamonks/generator-richmedia-temple/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/mediamonks/generator-richmedia-temple/issues/13/comments","events_url":"https://api.github.com/repos/mediamonks/generator-richmedia-temple/issues/13/events","html_url":"https://github.com/mediamonks/generator-richmedia-temple/issues/13","id":373476461,"node_id":"MDU6SXNzdWUzNzM0NzY0NjE=","number":13,"title":"Missing validation on Project Name","user":{"login":"caos2k","id":4586508,"node_id":"MDQ6VXNlcjQ1ODY1MDg=","avatar_url":"https://avatars0.githubusercontent.com/u/4586508?v=4","gravatar_id":"","url":"https://api.github.com/users/caos2k","html_url":"https://github.com/caos2k","followers_url":"https://api.github.com/users/caos2k/followers","following_url":"https://api.github.com/users/caos2k/following{/other_user}","gists_url":"https://api.github.com/users/caos2k/gists{/gist_id}","starred_url":"https://api.github.com/users/caos2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caos2k/subscriptions","organizations_url":"https://api.github.com/users/caos2k/orgs","repos_url":"https://api.github.com/users/caos2k/repos","events_url":"https://api.github.com/users/caos2k/events{/privacy}","received_events_url":"https://api.github.com/users/caos2k/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-24T13:13:57Z","updated_at":"2018-10-24T16:49:47Z","closed_at":"2018-10-24T16:49:47Z","author_association":"COLLABORATOR","body":"When the user enters the Project Name (during the question time @generator), if you insert a Project Name containing spaces, running dev.js will break and gives you this errors:\r\n\r\n![screenshot 2018-10-23 at 13 54 06](https://user-images.githubusercontent.com/4586508/47358807-260ea800-d6cb-11e8-9372-ea7c6ffcc746.png)\r\n\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'dev' ]\r\n2 info using npm@6.4.1\r\n3 info using node@v10.11.0\r\n4 verbose stack Error: Invalid name: \"This is my project name\"\r\n4 verbose stack     at ensureValidName (/usr/local/lib/node_modules/npm/node_modules/normalize-package-data/lib/fixer.js:335:15)\r\n4 verbose stack     at Object.fixNameField (/usr/local/lib/node_modules/npm/node_modules/normalize-package-data/lib/fixer.js:215:5)\r\n4 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/normalize-package-data/lib/normalize.js:32:38\r\n4 verbose stack     at Array.forEach (<anonymous>)\r\n4 verbose stack     at normalize (/usr/local/lib/node_modules/npm/node_modules/normalize-package-data/lib/normalize.js:31:15)\r\n4 verbose stack     at final (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:411:5)\r\n4 verbose stack     at then (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:160:5)\r\n4 verbose stack     at ReadFileContext.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:332:20)\r\n4 verbose stack     at ReadFileContext.callback (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16)\r\n4 verbose stack     at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:235:13)\r\n5 verbose cwd /Applications/MAMP/htdocs/test\r\n6 verbose Darwin 18.0.0\r\n7 verbose argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"run\" \"dev\"\r\n8 verbose node v10.11.0\r\n9 verbose npm  v6.4.1\r\n10 error Invalid name: \"This is my project name\"\r\n11 verbose exit [ 1, true ]\r\n"}}
{"actor":{"display_login":"mientjan"}}