{"action":"created","issue":{"url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/1072","repository_url":"https://api.github.com/repos/JeffreyWay/laravel-mix","labels_url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/1072/labels{/name}","comments_url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/1072/comments","events_url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/1072/events","html_url":"https://github.com/JeffreyWay/laravel-mix/issues/1072","id":246505737,"number":1072,"title":"Laravel Mix npm run dev error","user":{"login":"Phoenix7202","id":16502676,"avatar_url":"https://avatars3.githubusercontent.com/u/16502676?v=4","gravatar_id":"","url":"https://api.github.com/users/Phoenix7202","html_url":"https://github.com/Phoenix7202","followers_url":"https://api.github.com/users/Phoenix7202/followers","following_url":"https://api.github.com/users/Phoenix7202/following{/other_user}","gists_url":"https://api.github.com/users/Phoenix7202/gists{/gist_id}","starred_url":"https://api.github.com/users/Phoenix7202/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phoenix7202/subscriptions","organizations_url":"https://api.github.com/users/Phoenix7202/orgs","repos_url":"https://api.github.com/users/Phoenix7202/repos","events_url":"https://api.github.com/users/Phoenix7202/events{/privacy}","received_events_url":"https://api.github.com/users/Phoenix7202/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-29T07:23:26Z","updated_at":"2017-08-10T04:34:10Z","closed_at":"2017-08-01T22:02:58Z","body":"<!-- \r\n    Before posting this issue, please perform the following steps, and confirm that the issue is still present.\r\n\r\n1. Update Laravel Mix to the latest version.\r\n2. Nuke your dependencies, and reinstall from scratch: `rm -rf node_modules && npm cache clear && npm install`.\r\n3. Check your `package.json` file, and ensure that there are no old Laravel Elixir dependencies that might be interfering with Mix.\r\n-->\r\n\r\n- Laravel Mix Version: 1.4.2 (`npm list --depth=0`)\r\n- Node Version (`node -v`): v8.2.1\r\n- NPM Version (`npm -v`): 5.3.0\r\n- OS: Debian 8\r\n\r\n### Description:\r\nWhen I'm running the command `npm run dev`, I'm getting the following output with an error:\r\n```\r\nroot@gra2-status:/var/www/webinterface# npm run dev\r\n\r\n> @ dev /var/www/webinterface\r\n> npm run development\r\n\r\n\r\n> @ development /var/www/webinterface\r\n> cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js\r\n\r\nevents.js:182\r\n      throw er; // Unhandled 'error' event\r\n      ^\r\n\r\nError: spawn node_modules/webpack/bin/webpack.js ENOENT\r\n    at exports._errnoException (util.js:1024:11)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:192:19)\r\n    at onErrorNT (internal/child_process.js:374:16)\r\n    at _combinedTickCallback (internal/process/next_tick.js:138:11)\r\n    at process._tickCallback (internal/process/next_tick.js:180:9)\r\n    at Function.Module.runMain (module.js:607:11)\r\n    at startup (bootstrap_node.js:158:16)\r\n    at bootstrap_node.js:575:3\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! @ development: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the @ development script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR!     /root/.npm/_logs/2017-07-29T07_18_17_185Z-debug.log\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! @ dev: `npm run development`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the @ dev script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR!     /root/.npm/_logs/2017-07-29T07_18_17_205Z-debug.log\r\n```\r\n\r\n### Steps To Reproduce:\r\nClean Laravel Installation (\t\r\n`composer create-project laravel/laravel webinterface`)\r\n1. run: composer install\r\n2. run: npm install\r\n3. run: npm run dev"},"comment":{"url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/comments/321448426","html_url":"https://github.com/JeffreyWay/laravel-mix/issues/1072#issuecomment-321448426","issue_url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/1072","id":321448426,"user":{"login":"therealSMAT","id":12660524,"avatar_url":"https://avatars3.githubusercontent.com/u/12660524?v=4","gravatar_id":"","url":"https://api.github.com/users/therealSMAT","html_url":"https://github.com/therealSMAT","followers_url":"https://api.github.com/users/therealSMAT/followers","following_url":"https://api.github.com/users/therealSMAT/following{/other_user}","gists_url":"https://api.github.com/users/therealSMAT/gists{/gist_id}","starred_url":"https://api.github.com/users/therealSMAT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therealSMAT/subscriptions","organizations_url":"https://api.github.com/users/therealSMAT/orgs","repos_url":"https://api.github.com/users/therealSMAT/repos","events_url":"https://api.github.com/users/therealSMAT/events{/privacy}","received_events_url":"https://api.github.com/users/therealSMAT/received_events","type":"User","site_admin":false},"created_at":"2017-08-10T04:34:10Z","updated_at":"2017-08-10T04:34:10Z","body":"Worked for me also. Thanks "}}
{"actor":{"display_login":"therealSMAT"}}