{"action":"opened","issue":{"url":"https://api.github.com/repos/knsv/mermaid/issues/266","labels_url":"https://api.github.com/repos/knsv/mermaid/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/knsv/mermaid/issues/266/comments","events_url":"https://api.github.com/repos/knsv/mermaid/issues/266/events","html_url":"https://github.com/knsv/mermaid/issues/266","id":120660504,"number":266,"title":"npm run watch doesn’t work due missing dependencies","user":{"login":"jirutka","id":949228,"avatar_url":"https://avatars.githubusercontent.com/u/949228?v=3","gravatar_id":"","url":"https://api.github.com/users/jirutka","html_url":"https://github.com/jirutka","followers_url":"https://api.github.com/users/jirutka/followers","following_url":"https://api.github.com/users/jirutka/following{/other_user}","gists_url":"https://api.github.com/users/jirutka/gists{/gist_id}","starred_url":"https://api.github.com/users/jirutka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirutka/subscriptions","organizations_url":"https://api.github.com/users/jirutka/orgs","repos_url":"https://api.github.com/users/jirutka/repos","events_url":"https://api.github.com/users/jirutka/events{/privacy}","received_events_url":"https://api.github.com/users/jirutka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-06T21:22:29Z","updated_at":"2015-12-06T21:22:29Z","closed_at":null,"body":"I’ve tried it with both npm 2.x and 3.x with the same result.\r\n\r\n```\r\nnpm install\r\n...\r\nnpm run watch\r\n\r\n> mermaid@0.5.6 watch /Users/jimmy/Temp/mermaid\r\n> source  ./scripts/watch.sh\r\n\r\n./scripts/watch.sh: line 3: watchify: command not found\r\n./scripts/watch.sh: line 4: live-server: command not found\r\nmodule.js:339\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module 'brace-expansion'\r\n    at Function.Module._resolveFilename (module.js:337:15)\r\n    at Function.Module._load (module.js:287:25)\r\n    at Module.require (module.js:366:17)\r\n    at require (module.js:385:17)\r\n    at Object.<anonymous> (/Users/jimmy/Temp/mermaid/node_modules/eslint/node_modules/minimatch/minimatch.js:10:14)\r\n    at Module._compile (module.js:435:26)\r\n    at Object.Module._extensions..js (module.js:442:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:311:12)\r\n    at Module.require (module.js:366:17)\r\n    at require (module.js:385:17)\r\n\r\nnpm ERR! Darwin 13.4.0\r\nnpm ERR! argv \"/usr/local/var/lib/nodenv/versions/4.2.3/bin/node\" \"/usr/local/var/lib/nodenv/versions/4.2.3/bin/npm\" \"run\" \"watch\"\r\nnpm ERR! node v4.2.3\r\nnpm ERR! npm  v2.14.7\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! mermaid@0.5.6 watch: `source  ./scripts/watch.sh`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the mermaid@0.5.6 watch script 'source  ./scripts/watch.sh'.\r\nnpm ERR! This is most likely a problem with the mermaid package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     source  ./scripts/watch.sh\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls mermaid\r\nnpm ERR! There is likely additional logging output above.\r\n```"}}