{"action":"created","issue":{"url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/264","repository_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter","labels_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/264/labels{/name}","comments_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/264/comments","events_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/264/events","html_url":"https://github.com/AngularClass/angular2-webpack-starter/issues/264","id":129276968,"number":264,"title":"\"Unexpected token case\" when running e2e","user":{"login":"poznyakovskiy","id":3698055,"avatar_url":"https://avatars.githubusercontent.com/u/3698055?v=3","gravatar_id":"","url":"https://api.github.com/users/poznyakovskiy","html_url":"https://github.com/poznyakovskiy","followers_url":"https://api.github.com/users/poznyakovskiy/followers","following_url":"https://api.github.com/users/poznyakovskiy/following{/other_user}","gists_url":"https://api.github.com/users/poznyakovskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/poznyakovskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poznyakovskiy/subscriptions","organizations_url":"https://api.github.com/users/poznyakovskiy/orgs","repos_url":"https://api.github.com/users/poznyakovskiy/repos","events_url":"https://api.github.com/users/poznyakovskiy/events{/privacy}","received_events_url":"https://api.github.com/users/poznyakovskiy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-27T21:37:21Z","updated_at":"2016-02-05T11:31:41Z","closed_at":null,"body":"When I run e2e (`npm run e2e`), protractor stops with the message\r\n```\r\n> ts-node node_modules/.bin/protractor --specs src/**/**.e2e.ts,src/**/*.e2e.ts\r\n\r\nSyntaxError: Unexpected token case\r\n    at exports.runInThisContext (vm.js:53:16)\r\n    at Module._compile (module.js:387:25)\r\n    at Object.Module._extensions..js (module.js:422:10)\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 Object.<anonymous> (C:\\Dev\\angular2-webpack-starter\\node_modules\\ts-node\\src\\bin\\ts-node.ts:121:12)\r\n    at Module._compile (module.js:413:34)\r\n    at Object.Module._extensions..js (module.js:422:10)\r\n    at Module.load (module.js:357:32)\r\n``` "},"comment":{"url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/comments/180308147","html_url":"https://github.com/AngularClass/angular2-webpack-starter/issues/264#issuecomment-180308147","issue_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/264","id":180308147,"user":{"login":"dsebastien","id":89887,"avatar_url":"https://avatars.githubusercontent.com/u/89887?v=3","gravatar_id":"","url":"https://api.github.com/users/dsebastien","html_url":"https://github.com/dsebastien","followers_url":"https://api.github.com/users/dsebastien/followers","following_url":"https://api.github.com/users/dsebastien/following{/other_user}","gists_url":"https://api.github.com/users/dsebastien/gists{/gist_id}","starred_url":"https://api.github.com/users/dsebastien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsebastien/subscriptions","organizations_url":"https://api.github.com/users/dsebastien/orgs","repos_url":"https://api.github.com/users/dsebastien/repos","events_url":"https://api.github.com/users/dsebastien/events{/privacy}","received_events_url":"https://api.github.com/users/dsebastien/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T11:31:41Z","updated_at":"2016-02-05T11:31:41Z","body":"I still get the error even without the src/**....:\r\n\r\nHere's the script I'm using: `\"e2e\": \"ts-node node_modules/.bin/protractor\",`\r\n`"}}