Fsevents: Using deprecated APIs in node v6

Created on 26 Apr 2016  路  10Comments  路  Source: fsevents/fsevents

(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

This is occurring at the very least in these lines https://github.com/strongloop/fsevents/blob/master/fsevents.cc#L91-L96

This is going to cause a lot of garbage to be printed in osx.

Most helpful comment

This is breaking babel cli and nodemon after upgrading to Node v6.0.0 :(

All 10 comments

The warnings can be silenced with --nowarn_template_set. See https://github.com/nodejs/node/pull/6277.

Looking at the code, I think this would be simple to fix properly.

@ofrobots if you could point me in the right direction I'd be more than happy to try and implement a fix

Already on it.

This is breaking babel cli and nodemon after upgrading to Node v6.0.0 :(

It probably also breaks less

It was a different issue with Less, not related to this one.

And gulp-watch is affected

Resolved in 1.0.12

watchify was effected.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

billyjanitsch picture billyjanitsch  路  10Comments

paropark picture paropark  路  9Comments

kroschu picture kroschu  路  7Comments

zsociety picture zsociety  路  6Comments

thinkingdyw picture thinkingdyw  路  5Comments