{"action":"created","issue":{"url":"https://api.github.com/repos/yahoo/fluxible/issues/345","labels_url":"https://api.github.com/repos/yahoo/fluxible/issues/345/labels{/name}","comments_url":"https://api.github.com/repos/yahoo/fluxible/issues/345/comments","events_url":"https://api.github.com/repos/yahoo/fluxible/issues/345/events","html_url":"https://github.com/yahoo/fluxible/issues/345","id":123552940,"number":345,"title":"[chat example] \"npm run dev\" does not work","user":{"login":"mherodev","id":1099139,"avatar_url":"https://avatars.githubusercontent.com/u/1099139?v=3","gravatar_id":"","url":"https://api.github.com/users/mherodev","html_url":"https://github.com/mherodev","followers_url":"https://api.github.com/users/mherodev/followers","following_url":"https://api.github.com/users/mherodev/following{/other_user}","gists_url":"https://api.github.com/users/mherodev/gists{/gist_id}","starred_url":"https://api.github.com/users/mherodev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mherodev/subscriptions","organizations_url":"https://api.github.com/users/mherodev/orgs","repos_url":"https://api.github.com/users/mherodev/repos","events_url":"https://api.github.com/users/mherodev/events{/privacy}","received_events_url":"https://api.github.com/users/mherodev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-22T20:43:54Z","updated_at":"2015-12-22T21:26:22Z","closed_at":null,"body":"You can see from the following example that something is setup incorrectly. \r\n\r\nThe examples-level package.json includes nodemon, so it should be able to be found if those dependencies are inherited correctly. Installing nodemon  again at the chat-level simply goes down a rabbit hole of missing dependencies and errors. Coping those dependencies up from example to chat and installing results in another error. Not quite sure what's expected, but as mentioned, the following is what occurs on Ubuntu 14.04:\r\n\r\n$ git clone https://github.com/yahoo/fluxible.git\r\n$ cd fluxible/examples/\r\n$ npm install\r\n$ cd chat\r\n$ npm run dev\r\n\r\n> flux-example-chat@0.0.0 dev /home/mherold/git/fluxible/examples/chat\r\n> node webpack-dev-server.js & PORT=3001 nodemon server.js -e js,jsx\r\n\r\nsh: 1: nodemon: not found\r\n\r\nnpm ERR! Linux 3.19.0-25-generic\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"run\" \"dev\"\r\nnpm ERR! node v5.2.0\r\nnpm ERR! npm  v3.5.2\r\nnpm ERR! file sh\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno ENOENT\r\nnpm ERR! syscall spawn\r\nnpm ERR! flux-example-chat@0.0.0 dev: `node webpack-dev-server.js & PORT=3001 nodemon server.js -e js,jsx`\r\nnpm ERR! spawn ENOENT\r\n"},"comment":{"url":"https://api.github.com/repos/yahoo/fluxible/issues/comments/166733903","html_url":"https://github.com/yahoo/fluxible/issues/345#issuecomment-166733903","issue_url":"https://api.github.com/repos/yahoo/fluxible/issues/345","id":166733903,"user":{"login":"mridgway","id":191142,"avatar_url":"https://avatars.githubusercontent.com/u/191142?v=3","gravatar_id":"","url":"https://api.github.com/users/mridgway","html_url":"https://github.com/mridgway","followers_url":"https://api.github.com/users/mridgway/followers","following_url":"https://api.github.com/users/mridgway/following{/other_user}","gists_url":"https://api.github.com/users/mridgway/gists{/gist_id}","starred_url":"https://api.github.com/users/mridgway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mridgway/subscriptions","organizations_url":"https://api.github.com/users/mridgway/orgs","repos_url":"https://api.github.com/users/mridgway/repos","events_url":"https://api.github.com/users/mridgway/events{/privacy}","received_events_url":"https://api.github.com/users/mridgway/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T21:26:22Z","updated_at":"2015-12-22T21:26:22Z","body":"You need to run `npm install` from the examples directory or from the root (which also does installs for all subfolders) and then it should work to run `npm run dev` from the chat folder."}}