{"action":"created","issue":{"url":"https://api.github.com/repos/fraserxu/react-dropdown/issues/23","labels_url":"https://api.github.com/repos/fraserxu/react-dropdown/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/fraserxu/react-dropdown/issues/23/comments","events_url":"https://api.github.com/repos/fraserxu/react-dropdown/issues/23/events","html_url":"https://github.com/fraserxu/react-dropdown/issues/23","id":118421148,"number":23,"title":"Example fails to run","user":{"login":"frankcash","id":6012231,"avatar_url":"https://avatars.githubusercontent.com/u/6012231?v=3","gravatar_id":"","url":"https://api.github.com/users/frankcash","html_url":"https://github.com/frankcash","followers_url":"https://api.github.com/users/frankcash/followers","following_url":"https://api.github.com/users/frankcash/following{/other_user}","gists_url":"https://api.github.com/users/frankcash/gists{/gist_id}","starred_url":"https://api.github.com/users/frankcash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankcash/subscriptions","organizations_url":"https://api.github.com/users/frankcash/orgs","repos_url":"https://api.github.com/users/frankcash/repos","events_url":"https://api.github.com/users/frankcash/events{/privacy}","received_events_url":"https://api.github.com/users/frankcash/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-23T16:41:54Z","updated_at":"2015-11-23T22:54:41Z","closed_at":"2015-11-23T22:54:41Z","body":"I followed the provided instructions `$ cd example && npm install && npm run watch` but I receive the following error:\r\n\r\n### npm-debug.log\r\n```\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ '/usr/local/Cellar/node/4.1.2/bin/node',\r\n1 verbose cli   '/usr/local/bin/npm',\r\n1 verbose cli   'run',\r\n1 verbose cli   'browser-sync' ]\r\n2 info using npm@2.14.6\r\n3 info using node@v4.1.2\r\n4 verbose run-script [ 'prebrowser-sync', 'browser-sync', 'postbrowser-sync' ]\r\n5 info prebrowser-sync react-chartist@\r\n6 info browser-sync react-chartist@\r\n7 verbose unsafe-perm in lifecycle true\r\n8 info react-chartist@ Failed to exec browser-sync script\r\n9 verbose stack Error: react-chartist@ browser-sync: `browser-sync start --server --files './bundle.js'`\r\n9 verbose stack spawn ENOENT\r\n9 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:17:16)\r\n9 verbose stack     at emitTwo (events.js:87:13)\r\n9 verbose stack     at ChildProcess.emit (events.js:172:7)\r\n9 verbose stack     at maybeClose (internal/child_process.js:818:16)\r\n9 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)\r\n10 verbose pkgid react-chartist@\r\n11 verbose cwd /Users/frankcash/Code/react-dropdown/example\r\n12 error Darwin 14.1.0\r\n13 error argv \"/usr/local/Cellar/node/4.1.2/bin/node\" \"/usr/local/bin/npm\" \"run\" \"browser-sync\"\r\n14 error node v4.1.2\r\n15 error npm  v2.14.6\r\n16 error file sh\r\n17 error code ELIFECYCLE\r\n18 error errno ENOENT\r\n19 error syscall spawn\r\n20 error react-chartist@ browser-sync: `browser-sync start --server --files './bundle.js'`\r\n20 error spawn ENOENT\r\n21 error Failed at the react-chartist@ browser-sync script 'browser-sync start --server --files './bundle.js''.\r\n21 error This is most likely a problem with the react-chartist package,\r\n21 error not with npm itself.\r\n21 error Tell the author that this fails on your system:\r\n21 error     browser-sync start --server --files './bundle.js'\r\n21 error You can get their info via:\r\n21 error     npm owner ls react-chartist\r\n21 error There is likely additional logging output above.\r\n22 verbose exit [ 1, true ]\r\n\r\n```\r\n\r\n### console output\r\n```\r\nError: Cannot find module 'react' from '/Users/frankcash/Code/react-dropdown/example'\r\nError: Cannot find module 'react' from '/Users/frankcash/Code/react-dropdown/dist'\r\n[Error: write after end]\r\nError: Cannot find module 'react-dom' from '/Users/frankcash/Code/react-dropdown/dist'\r\n[Error: write after end]\r\nError: Cannot find module 'classnames' from '/Users/frankcash/Code/react-dropdown/dist'\r\n[Error: write after end]\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/fraserxu/react-dropdown/issues/comments/159093636","html_url":"https://github.com/fraserxu/react-dropdown/issues/23#issuecomment-159093636","issue_url":"https://api.github.com/repos/fraserxu/react-dropdown/issues/23","id":159093636,"user":{"login":"fraserxu","id":1183541,"avatar_url":"https://avatars.githubusercontent.com/u/1183541?v=3","gravatar_id":"","url":"https://api.github.com/users/fraserxu","html_url":"https://github.com/fraserxu","followers_url":"https://api.github.com/users/fraserxu/followers","following_url":"https://api.github.com/users/fraserxu/following{/other_user}","gists_url":"https://api.github.com/users/fraserxu/gists{/gist_id}","starred_url":"https://api.github.com/users/fraserxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fraserxu/subscriptions","organizations_url":"https://api.github.com/users/fraserxu/orgs","repos_url":"https://api.github.com/users/fraserxu/repos","events_url":"https://api.github.com/users/fraserxu/events{/privacy}","received_events_url":"https://api.github.com/users/fraserxu/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T22:54:41Z","updated_at":"2015-11-23T22:54:41Z","body":"@frankcash Fixed. The example should work now."}}