{"action":"opened","number":228,"pull_request":{"url":"https://api.github.com/repos/frappe/bench/pulls/228","id":71215521,"html_url":"https://github.com/frappe/bench/pull/228","diff_url":"https://github.com/frappe/bench/pull/228.diff","patch_url":"https://github.com/frappe/bench/pull/228.patch","issue_url":"https://api.github.com/repos/frappe/bench/issues/228","number":228,"state":"open","locked":false,"title":"added npm, missing deb/ubuntu dependency","user":{"login":"kressi","id":3862960,"avatar_url":"https://avatars.githubusercontent.com/u/3862960?v=3","gravatar_id":"","url":"https://api.github.com/users/kressi","html_url":"https://github.com/kressi","followers_url":"https://api.github.com/users/kressi/followers","following_url":"https://api.github.com/users/kressi/following{/other_user}","gists_url":"https://api.github.com/users/kressi/gists{/gist_id}","starred_url":"https://api.github.com/users/kressi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kressi/subscriptions","organizations_url":"https://api.github.com/users/kressi/orgs","repos_url":"https://api.github.com/users/kressi/repos","events_url":"https://api.github.com/users/kressi/events{/privacy}","received_events_url":"https://api.github.com/users/kressi/received_events","type":"User","site_admin":false},"body":"Running Frappe setup script on a clean Debian installation caused following error.\r\n\r\n```bash\r\nadmin@erpnext6:~$ admin@erpnext6:~$ sudo bash setup_frappe.sh --setup-production\r\nadmin@erpnext6:~$ sudo bash setup_frappe.sh --setup-production\r\nInstalling for debian 8 amd64\r\nIn case you encounter an error, you can post on https://discuss.frappe.io\r\n\r\nAdding debian mariadb repo\r\nInstalling packages for debian. This might take time...\r\nInstalling wkhtmltopdf\r\nAdding frappe user\r\nInstalling frappe-bench\r\nAlready using interpreter /usr/bin/python\r\nINFO:bench.app:getting app frappe\r\nCloning into 'frappe'...\r\nINFO:bench.app:installing frappe\r\nINFO:urllib3.connectionpool:Starting new HTTPS connection (1): raw.githubusercontent.com\r\nDEBUG:urllib3.connectionpool:\"GET /frappe/bench/master/install_scripts/erpnext-apps-master.json HTTP/1.1\" 200 101\r\nINFO:bench.app:getting app erpnext\r\nCloning into 'erpnext'...\r\nChecking out files: 100% (3482/3482), done.\r\nINFO:bench.app:installing erpnext\r\n/bin/sh: 1: npm: not found\r\ninstalling frappe\r\ninstalling erpnext\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/bench\", line 9, in <module>\r\n    load_entry_point('bench==3.0.0', 'console_scripts', 'bench')()\r\n  File \"/home/admin/bench-repo/bench/cli.py\", line 40, in cli\r\n    bench_command()\r\n  File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 716, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 696, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 1060, in invoke\r\n    return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n  File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 889, in invoke\r\n    return ctx.invoke(self.callback, **ctx.params)\r\n  File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 534, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/home/admin/bench-repo/bench/commands/make.py\", line 17, in init\r\n    no_auto_update=no_auto_update, frappe_path=frappe_path, frappe_branch=frappe_branch, verbose=verbose)\r\n  File \"/home/admin/bench-repo/bench/utils.py\", line 70, in init\r\n    setup_socketio(bench=path)\r\n  File \"/home/admin/bench-repo/bench/utils.py\", line 110, in setup_socketio\r\n    exec_cmd(\"npm install socket.io redis express superagent cookie\", cwd=bench)\r\n  File \"/home/admin/bench-repo/bench/utils.py\", line 100, in exec_cmd\r\n    raise CommandFailedError(cmd)\r\nbench.utils.CommandFailedError: npm install socket.io redis express superagent cookie\r\n```","created_at":"2016-05-24T13:01:45Z","updated_at":"2016-05-24T13:01:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/frappe/bench/pulls/228/commits","review_comments_url":"https://api.github.com/repos/frappe/bench/pulls/228/comments","review_comment_url":"https://api.github.com/repos/frappe/bench/pulls/comments{/number}","comments_url":"https://api.github.com/repos/frappe/bench/issues/228/comments","statuses_url":"https://api.github.com/repos/frappe/bench/statuses/f34d6b5988c2d3d7e05a01516cae351068aa21b7","head":{"label":"kressi:addnpm","ref":"addnpm","sha":"f34d6b5988c2d3d7e05a01516cae351068aa21b7","user":{"login":"kressi","id":3862960,"avatar_url":"https://avatars.githubusercontent.com/u/3862960?v=3","gravatar_id":"","url":"https://api.github.com/users/kressi","html_url":"https://github.com/kressi","followers_url":"https://api.github.com/users/kressi/followers","following_url":"https://api.github.com/users/kressi/following{/other_user}","gists_url":"https://api.github.com/users/kressi/gists{/gist_id}","starred_url":"https://api.github.com/users/kressi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kressi/subscriptions","organizations_url":"https://api.github.com/users/kressi/orgs","repos_url":"https://api.github.com/users/kressi/repos","events_url":"https://api.github.com/users/kressi/events{/privacy}","received_events_url":"https://api.github.com/users/kressi/received_events","type":"User","site_admin":false},"repo":{"id":58804273,"name":"bench","full_name":"kressi/bench","owner":{"login":"kressi","id":3862960,"avatar_url":"https://avatars.githubusercontent.com/u/3862960?v=3","gravatar_id":"","url":"https://api.github.com/users/kressi","html_url":"https://github.com/kressi","followers_url":"https://api.github.com/users/kressi/followers","following_url":"https://api.github.com/users/kressi/following{/other_user}","gists_url":"https://api.github.com/users/kressi/gists{/gist_id}","starred_url":"https://api.github.com/users/kressi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kressi/subscriptions","organizations_url":"https://api.github.com/users/kressi/orgs","repos_url":"https://api.github.com/users/kressi/repos","events_url":"https://api.github.com/users/kressi/events{/privacy}","received_events_url":"https://api.github.com/users/kressi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kressi/bench","description":"Multi-tenant platform to manage Frappe / ERPNext","fork":true,"url":"https://api.github.com/repos/kressi/bench","forks_url":"https://api.github.com/repos/kressi/bench/forks","keys_url":"https://api.github.com/repos/kressi/bench/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kressi/bench/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kressi/bench/teams","hooks_url":"https://api.github.com/repos/kressi/bench/hooks","issue_events_url":"https://api.github.com/repos/kressi/bench/issues/events{/number}","events_url":"https://api.github.com/repos/kressi/bench/events","assignees_url":"https://api.github.com/repos/kressi/bench/assignees{/user}","branches_url":"https://api.github.com/repos/kressi/bench/branches{/branch}","tags_url":"https://api.github.com/repos/kressi/bench/tags","blobs_url":"https://api.github.com/repos/kressi/bench/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kressi/bench/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kressi/bench/git/refs{/sha}","trees_url":"https://api.github.com/repos/kressi/bench/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kressi/bench/statuses/{sha}","languages_url":"https://api.github.com/repos/kressi/bench/languages","stargazers_url":"https://api.github.com/repos/kressi/bench/stargazers","contributors_url":"https://api.github.com/repos/kressi/bench/contributors","subscribers_url":"https://api.github.com/repos/kressi/bench/subscribers","subscription_url":"https://api.github.com/repos/kressi/bench/subscription","commits_url":"https://api.github.com/repos/kressi/bench/commits{/sha}","git_commits_url":"https://api.github.com/repos/kressi/bench/git/commits{/sha}","comments_url":"https://api.github.com/repos/kressi/bench/comments{/number}","issue_comment_url":"https://api.github.com/repos/kressi/bench/issues/comments{/number}","contents_url":"https://api.github.com/repos/kressi/bench/contents/{+path}","compare_url":"https://api.github.com/repos/kressi/bench/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kressi/bench/merges","archive_url":"https://api.github.com/repos/kressi/bench/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kressi/bench/downloads","issues_url":"https://api.github.com/repos/kressi/bench/issues{/number}","pulls_url":"https://api.github.com/repos/kressi/bench/pulls{/number}","milestones_url":"https://api.github.com/repos/kressi/bench/milestones{/number}","notifications_url":"https://api.github.com/repos/kressi/bench/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kressi/bench/labels{/name}","releases_url":"https://api.github.com/repos/kressi/bench/releases{/id}","deployments_url":"https://api.github.com/repos/kressi/bench/deployments","created_at":"2016-05-14T11:23:47Z","updated_at":"2016-05-14T11:23:48Z","pushed_at":"2016-05-24T12:58:42Z","git_url":"git://github.com/kressi/bench.git","ssh_url":"git@github.com:kressi/bench.git","clone_url":"https://github.com/kressi/bench.git","svn_url":"https://github.com/kressi/bench","homepage":"","size":29644,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"frappe:master","ref":"master","sha":"cbb13741f7db7a9578bdcbaf8e53ac7a238b1645","user":{"login":"frappe","id":836974,"avatar_url":"https://avatars.githubusercontent.com/u/836974?v=3","gravatar_id":"","url":"https://api.github.com/users/frappe","html_url":"https://github.com/frappe","followers_url":"https://api.github.com/users/frappe/followers","following_url":"https://api.github.com/users/frappe/following{/other_user}","gists_url":"https://api.github.com/users/frappe/gists{/gist_id}","starred_url":"https://api.github.com/users/frappe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frappe/subscriptions","organizations_url":"https://api.github.com/users/frappe/orgs","repos_url":"https://api.github.com/users/frappe/repos","events_url":"https://api.github.com/users/frappe/events{/privacy}","received_events_url":"https://api.github.com/users/frappe/received_events","type":"Organization","site_admin":false},"repo":{"id":21648326,"name":"bench","full_name":"frappe/bench","owner":{"login":"frappe","id":836974,"avatar_url":"https://avatars.githubusercontent.com/u/836974?v=3","gravatar_id":"","url":"https://api.github.com/users/frappe","html_url":"https://github.com/frappe","followers_url":"https://api.github.com/users/frappe/followers","following_url":"https://api.github.com/users/frappe/following{/other_user}","gists_url":"https://api.github.com/users/frappe/gists{/gist_id}","starred_url":"https://api.github.com/users/frappe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frappe/subscriptions","organizations_url":"https://api.github.com/users/frappe/orgs","repos_url":"https://api.github.com/users/frappe/repos","events_url":"https://api.github.com/users/frappe/events{/privacy}","received_events_url":"https://api.github.com/users/frappe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/frappe/bench","description":"Multi-tenant platform to manage Frappe / ERPNext","fork":false,"url":"https://api.github.com/repos/frappe/bench","forks_url":"https://api.github.com/repos/frappe/bench/forks","keys_url":"https://api.github.com/repos/frappe/bench/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frappe/bench/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frappe/bench/teams","hooks_url":"https://api.github.com/repos/frappe/bench/hooks","issue_events_url":"https://api.github.com/repos/frappe/bench/issues/events{/number}","events_url":"https://api.github.com/repos/frappe/bench/events","assignees_url":"https://api.github.com/repos/frappe/bench/assignees{/user}","branches_url":"https://api.github.com/repos/frappe/bench/branches{/branch}","tags_url":"https://api.github.com/repos/frappe/bench/tags","blobs_url":"https://api.github.com/repos/frappe/bench/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frappe/bench/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frappe/bench/git/refs{/sha}","trees_url":"https://api.github.com/repos/frappe/bench/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frappe/bench/statuses/{sha}","languages_url":"https://api.github.com/repos/frappe/bench/languages","stargazers_url":"https://api.github.com/repos/frappe/bench/stargazers","contributors_url":"https://api.github.com/repos/frappe/bench/contributors","subscribers_url":"https://api.github.com/repos/frappe/bench/subscribers","subscription_url":"https://api.github.com/repos/frappe/bench/subscription","commits_url":"https://api.github.com/repos/frappe/bench/commits{/sha}","git_commits_url":"https://api.github.com/repos/frappe/bench/git/commits{/sha}","comments_url":"https://api.github.com/repos/frappe/bench/comments{/number}","issue_comment_url":"https://api.github.com/repos/frappe/bench/issues/comments{/number}","contents_url":"https://api.github.com/repos/frappe/bench/contents/{+path}","compare_url":"https://api.github.com/repos/frappe/bench/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frappe/bench/merges","archive_url":"https://api.github.com/repos/frappe/bench/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frappe/bench/downloads","issues_url":"https://api.github.com/repos/frappe/bench/issues{/number}","pulls_url":"https://api.github.com/repos/frappe/bench/pulls{/number}","milestones_url":"https://api.github.com/repos/frappe/bench/milestones{/number}","notifications_url":"https://api.github.com/repos/frappe/bench/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frappe/bench/labels{/name}","releases_url":"https://api.github.com/repos/frappe/bench/releases{/id}","deployments_url":"https://api.github.com/repos/frappe/bench/deployments","created_at":"2014-07-09T10:24:30Z","updated_at":"2016-05-24T12:11:48Z","pushed_at":"2016-05-24T12:14:48Z","git_url":"git://github.com/frappe/bench.git","ssh_url":"git@github.com:frappe/bench.git","clone_url":"https://github.com/frappe/bench.git","svn_url":"https://github.com/frappe/bench","homepage":"","size":29882,"stargazers_count":124,"watchers_count":124,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":159,"mirror_url":null,"open_issues_count":50,"forks":159,"open_issues":50,"watchers":124,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/frappe/bench/pulls/228"},"html":{"href":"https://github.com/frappe/bench/pull/228"},"issue":{"href":"https://api.github.com/repos/frappe/bench/issues/228"},"comments":{"href":"https://api.github.com/repos/frappe/bench/issues/228/comments"},"review_comments":{"href":"https://api.github.com/repos/frappe/bench/pulls/228/comments"},"review_comment":{"href":"https://api.github.com/repos/frappe/bench/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/frappe/bench/pulls/228/commits"},"statuses":{"href":"https://api.github.com/repos/frappe/bench/statuses/f34d6b5988c2d3d7e05a01516cae351068aa21b7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"kressi"}}