{"action":"created","issue":{"url":"https://api.github.com/repos/rails/webpacker/issues/506","repository_url":"https://api.github.com/repos/rails/webpacker","labels_url":"https://api.github.com/repos/rails/webpacker/issues/506/labels{/name}","comments_url":"https://api.github.com/repos/rails/webpacker/issues/506/comments","events_url":"https://api.github.com/repos/rails/webpacker/issues/506/events","html_url":"https://github.com/rails/webpacker/issues/506","id":236249976,"number":506,"title":"Command \"webpack-dev-server\" not found.","user":{"login":"luispcosta","id":7049711,"avatar_url":"https://avatars0.githubusercontent.com/u/7049711?v=4","gravatar_id":"","url":"https://api.github.com/users/luispcosta","html_url":"https://github.com/luispcosta","followers_url":"https://api.github.com/users/luispcosta/followers","following_url":"https://api.github.com/users/luispcosta/following{/other_user}","gists_url":"https://api.github.com/users/luispcosta/gists{/gist_id}","starred_url":"https://api.github.com/users/luispcosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luispcosta/subscriptions","organizations_url":"https://api.github.com/users/luispcosta/orgs","repos_url":"https://api.github.com/users/luispcosta/repos","events_url":"https://api.github.com/users/luispcosta/events{/privacy}","received_events_url":"https://api.github.com/users/luispcosta/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":31,"created_at":"2017-06-15T16:40:55Z","updated_at":"2018-03-11T20:23:46Z","closed_at":"2017-07-07T09:07:26Z","author_association":"NONE","body":"I'm trying to create a new project with `webpacker` in rails and I constantly get the error\r\n\r\n````\r\nyarn run v0.24.6\r\nerror Command \"webpack-dev-server\" not found.\r\n````\r\n\r\nWhen trying to launch the dev server.\r\n\r\nRun down of the commands:\r\n\r\n```\r\nrails new testapp--webpack\r\n./bin/rails webpacker:install:vue\r\n./bin/webpack-dev-server\r\nyarn run v0.24.6\r\nerror Command \"webpack-dev-server\" not found.\r\n````\r\n\r\n## System configuration\r\n* Rails: `5.1.1`\r\n* Ruby: `2.4.1p111`\r\n* Node: `v6.10.2`\r\n* Yarn: `v0.24.6`\r\n* OS: Ubuntu 16.10\r\n\r\nI'm also running this on a Vagrant machine with the version `1.9.3`\r\n\r\nI tried doing:\r\n\r\n```\r\n$ sudo npm install -g webpack-dev-server\r\n$ npm install (from the rails project folder)\r\n$ yarn\r\n$  ./bin/yarn install\r\n````\r\nNothing seems to work. Any help?\r\n\r\nThanks!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rails/webpacker/issues/comments/372146042","html_url":"https://github.com/rails/webpacker/issues/506#issuecomment-372146042","issue_url":"https://api.github.com/repos/rails/webpacker/issues/506","id":372146042,"user":{"login":"HarikrishnaDS","id":35897770,"avatar_url":"https://avatars2.githubusercontent.com/u/35897770?v=4","gravatar_id":"","url":"https://api.github.com/users/HarikrishnaDS","html_url":"https://github.com/HarikrishnaDS","followers_url":"https://api.github.com/users/HarikrishnaDS/followers","following_url":"https://api.github.com/users/HarikrishnaDS/following{/other_user}","gists_url":"https://api.github.com/users/HarikrishnaDS/gists{/gist_id}","starred_url":"https://api.github.com/users/HarikrishnaDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HarikrishnaDS/subscriptions","organizations_url":"https://api.github.com/users/HarikrishnaDS/orgs","repos_url":"https://api.github.com/users/HarikrishnaDS/repos","events_url":"https://api.github.com/users/HarikrishnaDS/events{/privacy}","received_events_url":"https://api.github.com/users/HarikrishnaDS/received_events","type":"User","site_admin":false},"created_at":"2018-03-11T20:23:46Z","updated_at":"2018-03-11T20:23:46Z","author_association":"NONE","body":"@gauravtiwari At line 13 there was gem 'devise'. I removed it and run foreman start now its showing\r\n![capture7](https://user-images.githubusercontent.com/35897770/37258071-13a6f8fa-2598-11e8-869a-740c2619cbe7.JPG)\r\n\r\nBut localhost:5000 not working in browser"}}
{"actor":{"display_login":"HarikrishnaDS"}}