{"action":"opened","issue":{"url":"https://api.github.com/repos/Molunerfinn/vue-koa-demo/issues/14","repository_url":"https://api.github.com/repos/Molunerfinn/vue-koa-demo","labels_url":"https://api.github.com/repos/Molunerfinn/vue-koa-demo/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/Molunerfinn/vue-koa-demo/issues/14/comments","events_url":"https://api.github.com/repos/Molunerfinn/vue-koa-demo/issues/14/events","html_url":"https://github.com/Molunerfinn/vue-koa-demo/issues/14","id":245261120,"number":14,"title":"node:8.2.1   SyntaxError: Unexpected token import","user":{"login":"Here21","id":12051024,"avatar_url":"https://avatars0.githubusercontent.com/u/12051024?v=4","gravatar_id":"","url":"https://api.github.com/users/Here21","html_url":"https://github.com/Here21","followers_url":"https://api.github.com/users/Here21/followers","following_url":"https://api.github.com/users/Here21/following{/other_user}","gists_url":"https://api.github.com/users/Here21/gists{/gist_id}","starred_url":"https://api.github.com/users/Here21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Here21/subscriptions","organizations_url":"https://api.github.com/users/Here21/orgs","repos_url":"https://api.github.com/users/Here21/repos","events_url":"https://api.github.com/users/Here21/events{/privacy}","received_events_url":"https://api.github.com/users/Here21/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-25T01:37:58Z","updated_at":"2017-07-25T01:37:58Z","closed_at":null,"body":"`npm start dev` is ok, but when I run `node app.js`, I got these:\r\n```js\r\n▶ node app.js \r\n/Users/simon/workspace/studyCode/node/vue-koa-demo/app.js:1\r\n(function (exports, require, module, __filename, __dirname) { import Koa from 'koa';\r\n                                                              ^^^^^^\r\n\r\nSyntaxError: Unexpected token import\r\n    at createScript (vm.js:74:10)\r\n    at Object.runInThisContext (vm.js:116:10)\r\n    at Module._compile (module.js:533:28)\r\n    at Object.Module._extensions..js (module.js:580:10)\r\n    at Module.load (module.js:503:32)\r\n    at tryModuleLoad (module.js:466:12)\r\n    at Function.Module._load (module.js:458:3)\r\n    at Function.Module.runMain (module.js:605:10)\r\n    at startup (bootstrap_node.js:158:16)\r\n    at bootstrap_node.js:575:3\r\n\r\n```\r\n\r\nI use nvm to install node@8.2.1, I saw koa2 need version 7.6+."}}
{"actor":{"display_login":"Here21"}}