{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-cli/issues/1789","repository_url":"https://api.github.com/repos/driftyco/ionic-cli","labels_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/1789/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/1789/comments","events_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/1789/events","html_url":"https://github.com/driftyco/ionic-cli/issues/1789","id":196597846,"number":1789,"title":"Ionic serve fails (rc4)","user":{"login":"murshid1988","id":893180,"avatar_url":"https://avatars.githubusercontent.com/u/893180?v=3","gravatar_id":"","url":"https://api.github.com/users/murshid1988","html_url":"https://github.com/murshid1988","followers_url":"https://api.github.com/users/murshid1988/followers","following_url":"https://api.github.com/users/murshid1988/following{/other_user}","gists_url":"https://api.github.com/users/murshid1988/gists{/gist_id}","starred_url":"https://api.github.com/users/murshid1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murshid1988/subscriptions","organizations_url":"https://api.github.com/users/murshid1988/orgs","repos_url":"https://api.github.com/users/murshid1988/repos","events_url":"https://api.github.com/users/murshid1988/events{/privacy}","received_events_url":"https://api.github.com/users/murshid1988/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-20T06:39:13Z","updated_at":"2016-12-21T09:10:42Z","closed_at":null,"body":"\r\n#### Short description of the problem:\r\nWhen I try to run `ionic serve`, it fails. It was working before. My doubt is probably with the latest update. \r\n\r\n#### What behavior are you expecting?\r\nTo run without errors\r\n\r\nThis is the error/output I get\r\n```\r\n> ionic-hello-world@ ionic:serve /home/murshid/Documents/Ionic/CalConnectV2\r\n> ionic-app-scripts serve \"--lab\"\r\n\r\n[12:00:26]  ionic-app-scripts 0.0.47 \r\n[12:00:26]  watch started ... \r\n[12:00:26]  build dev started ... \r\n[12:00:26]  clean started ... \r\n[12:00:26]  clean finished in 4 ms \r\n[12:00:26]  copy started ... \r\n[12:00:26]  transpile started ... \r\n[12:00:30]  transpile finished in 3.60 s \r\n[12:00:30]  webpack started ... \r\n[12:00:30]  copy finished in 3.82 s \r\n/home/murshid/Documents/Ionic/CalConnectV2/node_modules/webpack-sources/node_modules/source-map/lib/source-node.js:95\r\n          var code = nextLine.substr(0, mapping.generatedColumn -\r\n                             ^\r\n\r\nTypeError: Cannot read property 'substr' of undefined\r\n    at Function.<anonymous> (/home/murshid/Documents/Ionic/CalConnectV2/node_modules/webpack-sources/node_modules/source-map/lib/source-node.js:95:30)\r\n    at Array.forEach (native)\r\n    at BasicSourceMapConsumer.SourceMapConsumer_eachMapping [as eachMapping] (/home/murshid/Documents/Ionic/CalConnectV2/node_modules/webpack-sources/node_modules/source-map/lib/source-map-consumer.js:155:14)\r\n    at Function.SourceNode_fromStringWithSourceMap [as fromStringWithSourceMap] (/home/murshid/Documents/Ionic/CalConnectV2/node_modules/webpack-sources/node_modules/source-map/lib/source-node.js:80:24)\r\n    at SourceMapSource.node (/home/murshid/Documents/Ionic/CalConnectV2/node_modules/webpack-sources/lib/SourceMapSource.js:42:20)\r\n    at ReplaceSource.node (/home/murshid/Documents/Ionic/CalConnectV2/node_modules/webpack-sources/lib/ReplaceSource.js:66:29)\r\n    at CachedSource.node (/home/murshid/Documents/Ionic/CalConnectV2/node_modules/webpack-sources/lib/CachedSource.js:12:23)\r\n    at /home/murshid/Documents/Ionic/CalConnectV2/node_modules/webpack-sources/lib/ConcatSource.js:40:49\r\n    at Array.map (native)\r\n    at ConcatSource.node (/home/murshid/Documents/Ionic/CalConnectV2/node_modules/webpack-sources/lib/ConcatSource.js:39:60)\r\n\r\nnpm ERR! Linux 4.4.0-53-generic\r\nnpm ERR! argv \"/home/murshid/.nvm/versions/node/v7.2.1/bin/node\" \"/home/murshid/.nvm/versions/node/v7.2.1/bin/npm\" \"run\" \"ionic:serve\" \"--\" \"--lab\"\r\nnpm ERR! node v7.2.1\r\nnpm ERR! npm  v3.10.10\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! ionic-hello-world@ ionic:serve: `ionic-app-scripts serve \"--lab\"`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the ionic-hello-world@ ionic:serve script 'ionic-app-scripts serve \"--lab\"'.\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 ionic-hello-world package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     ionic-app-scripts serve \"--lab\"\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs ionic-hello-world\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls ionic-hello-world\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!     /home/murshid/Documents/Ionic/CalConnectV2/npm-debug.log\r\nThere was an error serving your Ionic application: There was an error with the spawned command: serve\r\n\r\n```\r\n\r\n**My `ionic info`:**\r\n\r\n**Cordova CLI: 6.4.0 \r\nIonic Framework Version: 2.0.0-rc.4\r\nIonic CLI Version: 2.1.17\r\nIonic App Lib Version: 2.1.7\r\nIonic App Scripts Version: 0.0.47\r\nios-deploy version: Not installed\r\nios-sim version: Not installed\r\nOS: Linux 4.4\r\nNode Version: v7.2.1\r\nXcode version: Not installed**\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-cli/issues/comments/268472921","html_url":"https://github.com/driftyco/ionic-cli/issues/1789#issuecomment-268472921","issue_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/1789","id":268472921,"user":{"login":"drettig","id":1814225,"avatar_url":"https://avatars.githubusercontent.com/u/1814225?v=3","gravatar_id":"","url":"https://api.github.com/users/drettig","html_url":"https://github.com/drettig","followers_url":"https://api.github.com/users/drettig/followers","following_url":"https://api.github.com/users/drettig/following{/other_user}","gists_url":"https://api.github.com/users/drettig/gists{/gist_id}","starred_url":"https://api.github.com/users/drettig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drettig/subscriptions","organizations_url":"https://api.github.com/users/drettig/orgs","repos_url":"https://api.github.com/users/drettig/repos","events_url":"https://api.github.com/users/drettig/events{/privacy}","received_events_url":"https://api.github.com/users/drettig/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T09:10:42Z","updated_at":"2016-12-21T09:10:42Z","body":"Has worked for me. Thank you!"}}
{"actor":{"display_login":"drettig"}}