{"action":"opened","issue":{"url":"https://api.github.com/repos/sysgears/apollo-fullstack-starter-kit/issues/20","repository_url":"https://api.github.com/repos/sysgears/apollo-fullstack-starter-kit","labels_url":"https://api.github.com/repos/sysgears/apollo-fullstack-starter-kit/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/sysgears/apollo-fullstack-starter-kit/issues/20/comments","events_url":"https://api.github.com/repos/sysgears/apollo-fullstack-starter-kit/issues/20/events","html_url":"https://github.com/sysgears/apollo-fullstack-starter-kit/issues/20","id":200003183,"number":20,"title":"Just copied existing package to new folder and it is not working ","user":{"login":"hhashmi","id":6604373,"avatar_url":"https://avatars.githubusercontent.com/u/6604373?v=3","gravatar_id":"","url":"https://api.github.com/users/hhashmi","html_url":"https://github.com/hhashmi","followers_url":"https://api.github.com/users/hhashmi/followers","following_url":"https://api.github.com/users/hhashmi/following{/other_user}","gists_url":"https://api.github.com/users/hhashmi/gists{/gist_id}","starred_url":"https://api.github.com/users/hhashmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhashmi/subscriptions","organizations_url":"https://api.github.com/users/hhashmi/orgs","repos_url":"https://api.github.com/users/hhashmi/repos","events_url":"https://api.github.com/users/hhashmi/events{/privacy}","received_events_url":"https://api.github.com/users/hhashmi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-11T04:51:57Z","updated_at":"2017-01-11T04:51:57Z","closed_at":null,"body":"Just copied working package to a new folder without **node_module** folder\r\n\r\nin new folder used following commands\r\n\r\nnpm install\r\n\r\nnpm start\r\nand here comes following error(s)\r\n\r\n```\r\n> apollo-fullstack-starter-kit@1.0.0 start /Users/Hassan/Documents/testing_folder\r\n> if [ \"$NODE_ENV\" = production ]; then node --harmony $npm_package_app_backendBuildDir; else babel-node tools/webpack.run watch; fi\r\n\r\n/Users/Hassan/Documents/testing_folder/tools/webpack.run.js:1\r\n(function (exports, require, module, __filename, __dirname) { import webpack from 'webpack';\r\n                                                              ^^^^^^\r\n\r\nSyntaxError: Unexpected token import\r\n    at exports.runInThisContext (vm.js:53:16)\r\n    at Module._compile (module.js:387:25)\r\n    at loader (/Users/Hassan/Documents/testing_folder/node_modules/babel-register/lib/node.js:144:5)\r\n    at Object.require.extensions.(anonymous function) [as .js] (/Users/Hassan/Documents/testing_folder/node_modules/babel-register/lib/node.js:154:7)\r\n    at Module.load (module.js:357:32)\r\n    at Function.Module._load (module.js:314:12)\r\n    at Function.Module.runMain (module.js:447:10)\r\n    at /Users/Hassan/Documents/testing_folder/node_modules/babel-cli/lib/_babel-node.js:159:24\r\n    at Object.<anonymous> (/Users/Hassan/Documents/testing_folder/node_modules/babel-cli/lib/_babel-node.js:160:7)\r\n    at Module._compile (module.js:413:34)\r\n\r\nnpm ERR! Darwin 16.3.0\r\nnpm ERR! argv \"/Users/Hassan/.nvm/versions/node/v5.11.1/bin/node\" \"/Users/Hassan/.nvm/versions/node/v5.11.1/bin/npm\" \"start\"\r\nnpm ERR! node v5.11.1\r\nnpm ERR! npm  v3.8.6\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! apollo-fullstack-starter-kit@1.0.0 start: `if [ \"$NODE_ENV\" = production ]; then node --harmony $npm_package_app_backendBuildDir; else babel-node tools/webpack.run watch; fi`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the apollo-fullstack-starter-kit@1.0.0 start script 'if [ \"$NODE_ENV\" = production ]; then node --harmony $npm_package_app_backendBuildDir; else babel-node tools/webpack.run watch; fi'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the apollo-fullstack-starter-kit package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     if [ \"$NODE_ENV\" = production ]; then node --harmony $npm_package_app_backendBuildDir; else babel-node tools/webpack.run watch; fi\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs apollo-fullstack-starter-kit\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls apollo-fullstack-starter-kit\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /Users/Hassan/Documents/testing_folder/npm-debug.log\r\n```\r\n "}}
{"actor":{"display_login":"hhashmi"}}