{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/472","repository_url":"https://api.github.com/repos/ParsePlatform/parse-server","labels_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/472/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/472/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/472/events","html_url":"https://github.com/ParsePlatform/parse-server/issues/472","id":134455142,"number":472,"title":"Parse server with Heroku","user":{"login":"AnChiChang","id":11910534,"avatar_url":"https://avatars.githubusercontent.com/u/11910534?v=3","gravatar_id":"","url":"https://api.github.com/users/AnChiChang","html_url":"https://github.com/AnChiChang","followers_url":"https://api.github.com/users/AnChiChang/followers","following_url":"https://api.github.com/users/AnChiChang/following{/other_user}","gists_url":"https://api.github.com/users/AnChiChang/gists{/gist_id}","starred_url":"https://api.github.com/users/AnChiChang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnChiChang/subscriptions","organizations_url":"https://api.github.com/users/AnChiChang/orgs","repos_url":"https://api.github.com/users/AnChiChang/repos","events_url":"https://api.github.com/users/AnChiChang/events{/privacy}","received_events_url":"https://api.github.com/users/AnChiChang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":32,"created_at":"2016-02-18T01:36:43Z","updated_at":"2016-02-19T11:19:12Z","closed_at":"2016-02-19T06:35:13Z","body":"hello, \r\n\r\nI have a parse.com user want to migrate my app to Heroku. However, when I testing the newest parse server source code (that from https://github.com/ParsePlatform/parse-server), only download and deploy Heroku. then got below error message.\r\nI think that src/index.js file is from the Parse team. Could you kindly verify and advise. thanks.\r\n\r\n2016-02-17T19:52:36.120656+00:00 heroku[web.1]: Starting process with command `npm start`\r\n2016-02-17T19:52:39.312161+00:00 app[web.1]: \r\n2016-02-17T19:52:39.312171+00:00 app[web.1]: > parse-server@2.0.8 start /app\r\n2016-02-17T19:52:39.312173+00:00 app[web.1]: > ./bin/parse-server\r\n2016-02-17T19:52:39.312173+00:00 app[web.1]: \r\n2016-02-17T19:52:39.625902+00:00 app[web.1]: /app/src/index.js:14\r\n2016-02-17T19:52:39.625906+00:00 app[web.1]: import { GridStoreAdapter } from './Adapters/Files/GridStoreAdapter';\r\n2016-02-17T19:52:39.625907+00:00 app[web.1]: ^^^^^^\r\n2016-02-17T19:52:39.625908+00:00 app[web.1]: \r\n2016-02-17T19:52:39.625908+00:00 app[web.1]: SyntaxError: Unexpected token import\r\n2016-02-17T19:52:39.625909+00:00 app[web.1]:     at exports.runInThisContext (vm.js:53:16)\r\n2016-02-17T19:52:39.625909+00:00 app[web.1]:     at Module._compile (module.js:387:25)\r\n2016-02-17T19:52:39.625911+00:00 app[web.1]:     at Module.load (module.js:357:32)\r\n2016-02-17T19:52:39.625910+00:00 app[web.1]:     at Object.Module._extensions..js (module.js:422:10)\r\n2016-02-17T19:52:39.625912+00:00 app[web.1]:     at Module.require (module.js:367:17)\r\n2016-02-17T19:52:39.625912+00:00 app[web.1]:     at Function.Module._load (module.js:314:12)\r\n2016-02-17T19:52:39.625913+00:00 app[web.1]:     at require (internal/module.js:16:19)\r\n2016-02-17T19:52:39.625914+00:00 app[web.1]:     at Object.<anonymous> (/app/bin/parse-server:3:19)\r\n2016-02-17T19:52:39.625915+00:00 app[web.1]:     at Object.Module._extensions..js (module.js:422:10)\r\n2016-02-17T19:52:39.625914+00:00 app[web.1]:     at Module._compile (module.js:413:34)\r\n2016-02-17T19:52:39.641602+00:00 app[web.1]: npm ERR! Linux 3.13.0-71-generic\r\n2016-02-17T19:52:39.642067+00:00 app[web.1]: npm ERR! argv \"/app/.heroku/node/bin/node\" \"/app/.heroku/node/bin/npm\" \"start\"\r\n2016-02-17T19:52:39.631236+00:00 app[web.1]: \r\n2016-02-17T19:52:39.643377+00:00 app[web.1]: npm ERR! npm  v3.6.0\r\n2016-02-17T19:52:39.643666+00:00 app[web.1]: npm ERR! code ELIFECYCLE\r\n2016-02-17T19:52:39.643896+00:00 app[web.1]: npm ERR! parse-server@2.0.8 start: `./bin/parse-server`\r\n2016-02-17T19:52:39.644122+00:00 app[web.1]: npm ERR! Exit status 1\r\n2016-02-17T19:52:39.642384+00:00 app[web.1]: npm ERR! node v5.6.0\r\n2016-02-17T19:52:39.644367+00:00 app[web.1]: npm ERR! \r\n2016-02-17T19:52:39.644609+00:00 app[web.1]: npm ERR! Failed at the parse-server@2.0.8 start script './bin/parse-server'.\r\n2016-02-17T19:52:39.645067+00:00 app[web.1]: npm ERR! If you do, this is most likely a problem with the parse-server package,\r\n2016-02-17T19:52:39.644843+00:00 app[web.1]: npm ERR! Make sure you have the latest version of node.js and npm installed.\r\n2016-02-17T19:52:39.645303+00:00 app[web.1]: npm ERR! not with npm itself.\r\n2016-02-17T19:52:39.645525+00:00 app[web.1]: npm ERR! Tell the author that this fails on your system:\r\n2016-02-17T19:52:39.646702+00:00 app[web.1]: npm ERR! You can get information on how to open an issue for this project with:\r\n2016-02-17T19:52:39.646483+00:00 app[web.1]: npm ERR!     ./bin/parse-server\r\n2016-02-17T19:52:39.647393+00:00 app[web.1]: npm ERR!     npm owner ls parse-server\r\n2016-02-17T19:52:39.653722+00:00 app[web.1]: npm ERR!     /app/npm-debug.log\r\n2016-02-17T19:52:39.647613+00:00 app[web.1]: npm ERR! There is likely additional logging output above.\r\n2016-02-17T19:52:39.646964+00:00 app[web.1]: npm ERR!     npm bugs parse-server\r\n2016-02-17T19:52:39.647193+00:00 app[web.1]: npm ERR! Or if that isn't available, you can get their info via:\r\n2016-02-17T19:52:39.653206+00:00 app[web.1]: \r\n2016-02-17T19:52:39.653719+00:00 app[web.1]: npm ERR! Please include the following file with any support request:"},"comment":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/comments/186176604","html_url":"https://github.com/ParsePlatform/parse-server/issues/472#issuecomment-186176604","issue_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/472","id":186176604,"user":{"login":"AnChiChang","id":11910534,"avatar_url":"https://avatars.githubusercontent.com/u/11910534?v=3","gravatar_id":"","url":"https://api.github.com/users/AnChiChang","html_url":"https://github.com/AnChiChang","followers_url":"https://api.github.com/users/AnChiChang/followers","following_url":"https://api.github.com/users/AnChiChang/following{/other_user}","gists_url":"https://api.github.com/users/AnChiChang/gists{/gist_id}","starred_url":"https://api.github.com/users/AnChiChang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnChiChang/subscriptions","organizations_url":"https://api.github.com/users/AnChiChang/orgs","repos_url":"https://api.github.com/users/AnChiChang/repos","events_url":"https://api.github.com/users/AnChiChang/events{/privacy}","received_events_url":"https://api.github.com/users/AnChiChang/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T11:19:12Z","updated_at":"2016-02-19T11:19:12Z","body":"@edwardyue \r\n\r\nI use parse sdk version 1.12, got below message\r\n\r\n2016-02-19 19:17:59.337 GroupBuy[10813:3476362] [Error]: Failed to run command eventually with error: Error Domain=NSCocoaErrorDomain Code=3840 \"JSON text did not start with array or object and option to allow fragments not set.\" UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.}\r\nOptional(\"Error Domain=NSCocoaErrorDomain Code=3840 \\\"JSON text did not start with array or object and option to allow fragments not set.\\\" UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.}\")"}}