{"action":"created","issue":{"url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/issues/12","repository_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle","labels_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/issues/12/comments","events_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/issues/12/events","html_url":"https://github.com/mariusbalcytis/webpack-bundle/issues/12","id":165078613,"number":12,"title":"Invalid type for path \"maba_webpack.bin.dev_server.executable.0\". Expected scalar, but got array.","user":{"login":"Danita","id":754783,"avatar_url":"https://avatars.githubusercontent.com/u/754783?v=3","gravatar_id":"","url":"https://api.github.com/users/Danita","html_url":"https://github.com/Danita","followers_url":"https://api.github.com/users/Danita/followers","following_url":"https://api.github.com/users/Danita/following{/other_user}","gists_url":"https://api.github.com/users/Danita/gists{/gist_id}","starred_url":"https://api.github.com/users/Danita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Danita/subscriptions","organizations_url":"https://api.github.com/users/Danita/orgs","repos_url":"https://api.github.com/users/Danita/repos","events_url":"https://api.github.com/users/Danita/events{/privacy}","received_events_url":"https://api.github.com/users/Danita/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-12T13:20:46Z","updated_at":"2016-07-13T21:56:35Z","closed_at":"2016-07-13T21:56:35Z","body":"Hi, thanks for this bundle! :smile:, I'm really looking forward to trying it in my app but I'm getting this error when I try to run the devserver with a custom configuration (I need it to run on port 8081):\r\n\r\n```\r\n[Symfony\\Component\\Config\\Definition\\Exception\\InvalidTypeException]\r\n  Invalid type for path \"maba_webpack.bin.dev_server.executable.0\". Expected scalar, but got array.\r\n```\r\n\r\nMy config is:\r\n\r\n```yml\r\nmaba_webpack:\r\n    config:\r\n        path: '%kernel.root_dir%/config/webpack.config.js'\r\n        parameters:\r\n            public_path: 'http://192.168.57.123:8081/compiled/'\r\n    bin:\r\n        dev_server:\r\n            executable:\r\n                - node\r\n                - node_modules/webpack-dev-server/bin/webpack-dev-server.js\r\n            arguments:\r\n                - --port 8081\r\n```\r\n\r\nI can seem to find out what I'm doing wrong here. Any ideas?"},"comment":{"url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/issues/comments/232498958","html_url":"https://github.com/mariusbalcytis/webpack-bundle/issues/12#issuecomment-232498958","issue_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/issues/12","id":232498958,"user":{"login":"mariusbalcytis","id":1590072,"avatar_url":"https://avatars.githubusercontent.com/u/1590072?v=3","gravatar_id":"","url":"https://api.github.com/users/mariusbalcytis","html_url":"https://github.com/mariusbalcytis","followers_url":"https://api.github.com/users/mariusbalcytis/followers","following_url":"https://api.github.com/users/mariusbalcytis/following{/other_user}","gists_url":"https://api.github.com/users/mariusbalcytis/gists{/gist_id}","starred_url":"https://api.github.com/users/mariusbalcytis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariusbalcytis/subscriptions","organizations_url":"https://api.github.com/users/mariusbalcytis/orgs","repos_url":"https://api.github.com/users/mariusbalcytis/repos","events_url":"https://api.github.com/users/mariusbalcytis/events{/privacy}","received_events_url":"https://api.github.com/users/mariusbalcytis/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T21:56:35Z","updated_at":"2016-07-13T21:56:35Z","body":"It was fixed with #9. Also see #3 and #4 as this will be the case for you, too:\r\n1. `---port` and `8081` in separate lines\r\n2. You also need `--host 0.0.0.0` as dev-server will not receive connection from other hosts if this will not be provided (only by localhost)\r\n\r\nJust to note - you do not need to provide `executable` at all if defaults are ok for you. You could overwrite just the arguments part if needed."}}
{"actor":{"display_login":"mariusbalcytis"}}