{"action":"created","issue":{"url":"https://api.github.com/repos/Molunerfinn/vue-koa-demo/issues/8","repository_url":"https://api.github.com/repos/Molunerfinn/vue-koa-demo","labels_url":"https://api.github.com/repos/Molunerfinn/vue-koa-demo/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/Molunerfinn/vue-koa-demo/issues/8/comments","events_url":"https://api.github.com/repos/Molunerfinn/vue-koa-demo/issues/8/events","html_url":"https://github.com/Molunerfinn/vue-koa-demo/issues/8","id":237413750,"number":8,"title":"项目跑起来了，但是登录接口报504，登录不了 。","user":{"login":"oo10","id":15247637,"avatar_url":"https://avatars1.githubusercontent.com/u/15247637?v=4","gravatar_id":"","url":"https://api.github.com/users/oo10","html_url":"https://github.com/oo10","followers_url":"https://api.github.com/users/oo10/followers","following_url":"https://api.github.com/users/oo10/following{/other_user}","gists_url":"https://api.github.com/users/oo10/gists{/gist_id}","starred_url":"https://api.github.com/users/oo10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oo10/subscriptions","organizations_url":"https://api.github.com/users/oo10/orgs","repos_url":"https://api.github.com/users/oo10/repos","events_url":"https://api.github.com/users/oo10/events{/privacy}","received_events_url":"https://api.github.com/users/oo10/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-06-21T04:45:33Z","updated_at":"2018-04-12T09:12:12Z","closed_at":"2017-06-21T04:52:32Z","author_association":"NONE","body":"$ npm run dev\r\n\r\n> vue-koa-demo@1.0.0 dev C:\\Users\\Administrator\\Desktop\\2017.6\\vue-koa-demo\r\n> node build/dev-server.js\r\n\r\n[HPM] Proxy created: /auth  ->  http://localhost:8889\r\n[HPM] Proxy created: /api  ->  http://localhost:8889\r\n> Starting dev server...\r\n DONE  Compiled successfully in 8258ms12:41:49\r\n\r\n> Listening at http://localhost:8080\r\n\r\n**[HPM] Error occurred while trying to proxy request /auth/user from localhost:8080 to http://localhost:8889 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)**\r\n\r\n配置了自己的mysql密码，这是什么原因导致的呢。\r\n"},"comment":{"url":"https://api.github.com/repos/Molunerfinn/vue-koa-demo/issues/comments/380734081","html_url":"https://github.com/Molunerfinn/vue-koa-demo/issues/8#issuecomment-380734081","issue_url":"https://api.github.com/repos/Molunerfinn/vue-koa-demo/issues/8","id":380734081,"user":{"login":"Molunerfinn","id":12621342,"avatar_url":"https://avatars2.githubusercontent.com/u/12621342?v=4","gravatar_id":"","url":"https://api.github.com/users/Molunerfinn","html_url":"https://github.com/Molunerfinn","followers_url":"https://api.github.com/users/Molunerfinn/followers","following_url":"https://api.github.com/users/Molunerfinn/following{/other_user}","gists_url":"https://api.github.com/users/Molunerfinn/gists{/gist_id}","starred_url":"https://api.github.com/users/Molunerfinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Molunerfinn/subscriptions","organizations_url":"https://api.github.com/users/Molunerfinn/orgs","repos_url":"https://api.github.com/users/Molunerfinn/repos","events_url":"https://api.github.com/users/Molunerfinn/events{/privacy}","received_events_url":"https://api.github.com/users/Molunerfinn/received_events","type":"User","site_admin":false},"created_at":"2018-04-12T09:12:12Z","updated_at":"2018-04-12T09:12:12Z","author_association":"OWNER","body":"@YuFengDing \r\n如果是在windows下运行的话，需要分开运行前端和后端：\r\n```bash\r\nnpm run dev\r\n```\r\n然后在另一个窗口运行\r\n```bash\r\nnpm run server\r\n````\r\n分开查看两个窗口的报错信息。如果run server的后端报`ECONNREFUSED`的错误一般是你的8889端口被占用了。要么换一个端口要么杀掉之前8889端口的进程。然后重新跑一遍`npm run server`"}}
{"actor":{"display_login":"Molunerfinn"}}