{"action":"created","issue":{"url":"https://api.github.com/repos/dongweiming/wechat-admin/issues/27","repository_url":"https://api.github.com/repos/dongweiming/wechat-admin","labels_url":"https://api.github.com/repos/dongweiming/wechat-admin/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/dongweiming/wechat-admin/issues/27/comments","events_url":"https://api.github.com/repos/dongweiming/wechat-admin/issues/27/events","html_url":"https://github.com/dongweiming/wechat-admin/issues/27","id":247054155,"number":27,"title":"build 失败日志","user":{"login":"xxluan","id":1575668,"avatar_url":"https://avatars0.githubusercontent.com/u/1575668?v=4","gravatar_id":"","url":"https://api.github.com/users/xxluan","html_url":"https://github.com/xxluan","followers_url":"https://api.github.com/users/xxluan/followers","following_url":"https://api.github.com/users/xxluan/following{/other_user}","gists_url":"https://api.github.com/users/xxluan/gists{/gist_id}","starred_url":"https://api.github.com/users/xxluan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xxluan/subscriptions","organizations_url":"https://api.github.com/users/xxluan/orgs","repos_url":"https://api.github.com/users/xxluan/repos","events_url":"https://api.github.com/users/xxluan/events{/privacy}","received_events_url":"https://api.github.com/users/xxluan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-01T12:35:52Z","updated_at":"2017-08-01T12:36:57Z","closed_at":null,"body":"0 info it worked if it ends with ok\r\n1 verbose cli [ '/opt/node/bin/node', '/opt/node/bin/npm', 'run', 'build' ]\r\n2 info using npm@5.3.0\r\n3 info using node@v8.2.1\r\n4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]\r\n5 info lifecycle wechat-vue-admin@1.0.0~prebuild: wechat-vue-admin@1.0.0\r\n6 info lifecycle wechat-vue-admin@1.0.0~build: wechat-vue-admin@1.0.0\r\n7 verbose lifecycle wechat-vue-admin@1.0.0~build: unsafe-perm in lifecycle true\r\n8 verbose lifecycle wechat-vue-admin@1.0.0~build: PATH: /opt/node/lib/node_modules/npm/bin/node-gyp-bin:/root/wechat-admin/node_modules/.bin:/opt/node/bin:/usr/local/php/sbin:/usr/local/php/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin\r\n9 verbose lifecycle wechat-vue-admin@1.0.0~build: CWD: /root/wechat-admin\r\n10 silly lifecycle wechat-vue-admin@1.0.0~build: Args: [ '-c', 'node build/build.js' ]\r\n11 silly lifecycle wechat-vue-admin@1.0.0~build: Returned: code: 1  signal: null\r\n12 info lifecycle wechat-vue-admin@1.0.0~build: Failed to exec build script\r\n13 verbose stack Error: wechat-vue-admin@1.0.0 build: `node build/build.js`\r\n13 verbose stack Exit status 1\r\n13 verbose stack     at EventEmitter.<anonymous> (/opt/node/lib/node_modules/npm/lib/utils/lifecycle.js:289:16)\r\n13 verbose stack     at emitTwo (events.js:125:13)\r\n13 verbose stack     at EventEmitter.emit (events.js:213:7)\r\n13 verbose stack     at ChildProcess.<anonymous> (/opt/node/lib/node_modules/npm/lib/utils/spawn.js:40:14)\r\n13 verbose stack     at emitTwo (events.js:125:13)\r\n13 verbose stack     at ChildProcess.emit (events.js:213:7)\r\n13 verbose stack     at maybeClose (internal/child_process.js:921:16)\r\n13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)\r\n14 verbose pkgid wechat-vue-admin@1.0.0\r\n15 verbose cwd /root/wechat-admin\r\n16 verbose Linux 2.6.32-431.23.3.el6.x86_64\r\n17 verbose argv \"/opt/node/bin/node\" \"/opt/node/bin/npm\" \"run\" \"build\"\r\n18 verbose node v8.2.1\r\n19 verbose npm  v5.3.0\r\n20 error code ELIFECYCLE\r\n21 error errno 1\r\n22 error wechat-vue-admin@1.0.0 build: `node build/build.js`\r\n22 error Exit status 1\r\n23 error Failed at the wechat-vue-admin@1.0.0 build script.\r\n23 error This is probably not a problem with npm. There is likely additional logging output above.\r\n24 verbose exit [ 1, true ]\r\n"},"comment":{"url":"https://api.github.com/repos/dongweiming/wechat-admin/issues/comments/319357654","html_url":"https://github.com/dongweiming/wechat-admin/issues/27#issuecomment-319357654","issue_url":"https://api.github.com/repos/dongweiming/wechat-admin/issues/27","id":319357654,"user":{"login":"xxluan","id":1575668,"avatar_url":"https://avatars0.githubusercontent.com/u/1575668?v=4","gravatar_id":"","url":"https://api.github.com/users/xxluan","html_url":"https://github.com/xxluan","followers_url":"https://api.github.com/users/xxluan/followers","following_url":"https://api.github.com/users/xxluan/following{/other_user}","gists_url":"https://api.github.com/users/xxluan/gists{/gist_id}","starred_url":"https://api.github.com/users/xxluan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xxluan/subscriptions","organizations_url":"https://api.github.com/users/xxluan/orgs","repos_url":"https://api.github.com/users/xxluan/repos","events_url":"https://api.github.com/users/xxluan/events{/privacy}","received_events_url":"https://api.github.com/users/xxluan/received_events","type":"User","site_admin":false},"created_at":"2017-08-01T12:36:57Z","updated_at":"2017-08-01T12:36:57Z","body":"现在扫码默认的图片url是http://localhost:8100/static/img/qr_code.gif\r\n我要把localhost改掉，但是在 npm run build 就出现错误日志"}}
{"actor":{"display_login":"xxluan"}}