{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-cli/issues/960","repository_url":"https://api.github.com/repos/driftyco/ionic-cli","labels_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/960/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/960/comments","events_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/960/events","html_url":"https://github.com/driftyco/ionic-cli/issues/960","id":151396481,"number":960,"title":"NodeJS 6 support","user":{"login":"jgw96","id":8823093,"avatar_url":"https://avatars.githubusercontent.com/u/8823093?v=3","gravatar_id":"","url":"https://api.github.com/users/jgw96","html_url":"https://github.com/jgw96","followers_url":"https://api.github.com/users/jgw96/followers","following_url":"https://api.github.com/users/jgw96/following{/other_user}","gists_url":"https://api.github.com/users/jgw96/gists{/gist_id}","starred_url":"https://api.github.com/users/jgw96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgw96/subscriptions","organizations_url":"https://api.github.com/users/jgw96/orgs","repos_url":"https://api.github.com/users/jgw96/repos","events_url":"https://api.github.com/users/jgw96/events{/privacy}","received_events_url":"https://api.github.com/users/jgw96/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2016-04-27T14:13:14Z","updated_at":"2016-05-11T15:38:06Z","closed_at":null,"body":"_From @dealloc on April 27, 2016 12:30_\n\n#### Short description of the problem:\r\nIonic currently uses a deprecated version of [graceful-fs](https://github.com/isaacs/node-graceful-fs) which generates an enormous amount of stack traces when serving, or any other action for that matter\r\n\r\n**Steps to reproduce:**\r\n1. install NodeJS 6\r\n2. run ``` ionic serve ```\r\n\r\n**Which Ionic Version?** 1.x or 2.x\r\nIonic 2.0.0-beta.25\r\n\r\n\r\n**Run `ionic info` from terminal/cmd prompt:** (paste output below)\r\n```\r\n(node:13866) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.\r\n(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated\r\n(node) and will stop working in the next major release.\r\n\r\n==== JS stack trace =========================================\r\n<truncated huge stacktrace>\r\n\r\n\r\nYour system information:\r\n\r\nCordova CLI: 6.1.1\r\nGulp version:  CLI version 3.9.1\r\nGulp local:   Local version 3.9.1\r\nIonic Framework Version: 2.0.0-beta.3\r\nIonic CLI Version: 2.0.0-beta.25\r\nIonic App Lib Version: 2.0.0-beta.15\r\nOS: Distributor ID:\tArch Description:\tArch Linux \r\nNode Version: v6.0.0\r\n```\n\n_Copied from original issue: driftyco/ionic#6340_"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-cli/issues/comments/218498329","html_url":"https://github.com/driftyco/ionic-cli/issues/960#issuecomment-218498329","issue_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/960","id":218498329,"user":{"login":"eljefedelrodeodeljefe","id":3899684,"avatar_url":"https://avatars.githubusercontent.com/u/3899684?v=3","gravatar_id":"","url":"https://api.github.com/users/eljefedelrodeodeljefe","html_url":"https://github.com/eljefedelrodeodeljefe","followers_url":"https://api.github.com/users/eljefedelrodeodeljefe/followers","following_url":"https://api.github.com/users/eljefedelrodeodeljefe/following{/other_user}","gists_url":"https://api.github.com/users/eljefedelrodeodeljefe/gists{/gist_id}","starred_url":"https://api.github.com/users/eljefedelrodeodeljefe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eljefedelrodeodeljefe/subscriptions","organizations_url":"https://api.github.com/users/eljefedelrodeodeljefe/orgs","repos_url":"https://api.github.com/users/eljefedelrodeodeljefe/repos","events_url":"https://api.github.com/users/eljefedelrodeodeljefe/events{/privacy}","received_events_url":"https://api.github.com/users/eljefedelrodeodeljefe/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T15:38:06Z","updated_at":"2016-05-11T15:38:06Z","body":"I don't know if it was mentioned, but I got pointed here. There is another issue with v6:\r\n\r\nRun `ionic`without params likely has some fall-through to some loop over console logs. Those logs will be truncated. This is due to a libuv change in node core, that won't be fixed. There are a lot of similar tickets and I assume there will be fixes in `yargs` and similar.\r\n\r\nRef: https://github.com/yargs/yargs/issues/497, https://github.com/nodejs/node/issues/6456\r\n\r\nPossible fix not using process.exit() and respective handlers. https://github.com/yargs/yargs/pull/498"}}