{"action":"opened","issue":{"url":"https://api.github.com/repos/berick/evergreen-ansible-installer/issues/4","repository_url":"https://api.github.com/repos/berick/evergreen-ansible-installer","labels_url":"https://api.github.com/repos/berick/evergreen-ansible-installer/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/berick/evergreen-ansible-installer/issues/4/comments","events_url":"https://api.github.com/repos/berick/evergreen-ansible-installer/issues/4/events","html_url":"https://github.com/berick/evergreen-ansible-installer/issues/4","id":335934726,"node_id":"MDU6SXNzdWUzMzU5MzQ3MjY=","number":4,"title":"Installer fails on rel_3_0","user":{"login":"kenstir","id":915867,"node_id":"MDQ6VXNlcjkxNTg2Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/915867?v=4","gravatar_id":"","url":"https://api.github.com/users/kenstir","html_url":"https://github.com/kenstir","followers_url":"https://api.github.com/users/kenstir/followers","following_url":"https://api.github.com/users/kenstir/following{/other_user}","gists_url":"https://api.github.com/users/kenstir/gists{/gist_id}","starred_url":"https://api.github.com/users/kenstir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenstir/subscriptions","organizations_url":"https://api.github.com/users/kenstir/orgs","repos_url":"https://api.github.com/users/kenstir/repos","events_url":"https://api.github.com/users/kenstir/events{/privacy}","received_events_url":"https://api.github.com/users/kenstir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-26T18:11:15Z","updated_at":"2018-06-26T18:11:15Z","closed_at":null,"author_association":"NONE","body":"With osrf and eg set to rel_3_0, the installer fails the 'npm build' step because build-prod does not exist.\r\n\r\n```\r\nTASK [npm build] ***************************************************************\r\nfatal: [127.0.0.1]: FAILED! => {\"changed\": true, \"cmd\": \"cd /home/opensrf/Evergr   een/Open-ILS/web/js/ui/default/staff && npm run build-prod\", \"delta\": \"0:00:04.2   82466\", \"end\": \"2018-06-26 13:07:09.508485\", \"failed\": true, \"rc\": 1, \"start\": \"   2018-06-26 13:07:05.226019\", \"stderr\": \"npm ERR! Linux 4.4.0-128-generic\\nnpm ER   R! argv \\\"/usr/local/bin/node\\\" \\\"/usr/local/bin/npm\\\" \\\"run\\\" \\\"build-prod\\\"\\nn   pm ERR! node v6.11.3\\nnpm ERR! npm  v3.10.10\\n\\nnpm ERR! missing script: build-p   rod\\nnpm ERR! \\nnpm ERR! If you need help, you may report this error at:\\nnpm ER   R!     <https://github.com/npm/npm/issues>\\n\\nnpm ERR! Please include the follow   ing file with any support request:\\nnpm ERR!     /home/opensrf/Evergreen/Open-IL   S/web/js/ui/default/staff/npm-debug.log\", \"stdout\": \"\", \"stdout_lines\": [], \"war   nings\": []}\r\n```\r\n\r\nSuggest checking for existence of Gruntfile.js and using Grunt if it exists, build-prod if it doesn't.  I'll submit a PR in a minute."}}
{"actor":{"display_login":"kenstir"}}