question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

From @dealloc on April 27, 2016 12:30

Short description of the problem:

Ionic currently uses a deprecated version of graceful-fs which generates an enormous amount of stack traces when serving, or any other action for that matter

Steps to reproduce:

  1. install NodeJS 6
  2. run ionic serve

Which Ionic Version? 1.x or 2.x Ionic 2.0.0-beta.25

Run ionic info from terminal/cmd prompt: (paste output below)

(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.
(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

==== JS stack trace =========================================
<truncated huge stacktrace>


Your system information:

Cordova CLI: 6.1.1
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.3
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
OS: Distributor ID: Arch Description:   Arch Linux 
Node Version: v6.0.0

Copied from original issue: driftyco/ionic#6340

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:30
  • Comments:44 (6 by maintainers)

github_iconTop GitHub Comments

8reactions
jgw96commented, May 11, 2016

Hey, yeah we are already aware of the package version issues. We are currently being held back by the fact that some of our dependencies have yet to update to work with node 6. The cli team hopes to have full node 6 support within the next couple of beta cli releases (:

8reactions
nunoarrudacommented, Apr 28, 2016

This might be related to the fact that node-sass doesn’t yet support Node 6 https://github.com/sass/node-sass/issues/1484

Downgrade Node to v5.11.0 and you should be fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node.js 6 is approaching End-of-Life – upgrade your AWS ...
Software incompatibility – Newer versions of Node.js better support current best practices and newer design patterns.
Read more >
ECMAScript 2015 (ES6) and beyond - Node.js
The website node.green provides an excellent overview over supported ECMAScript features in various versions of Node.js, based on kangax's compat-table.
Read more >
Node.js - endoflife.date
Release Released Active Support 19 2 months and 6 days ago. (18 Oct 2022) Ends in 3 months and 1 week. (01 Apr 2... 18...
Read more >
Node.js ES2015/ES6, ES2016 and ES2017 support
Yes. Yes Yes. Yes Error. Error Error. Error Error. Error Error. Error function() function() function() function() function() function() function() function() function() function() function() function() function() function()...
Read more >
How to check if Node.js supports ES6 language feature
NAVIGATION Node uses Chrome V8 JavaScript engine Way #1, Easy - Compatibility Table Way #2, Hard - Backtrack V8 version Two ways to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found