Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v8 depreciation warning using the watch flag with Node v6.0.0 #793

Closed
bencooling opened this issue Apr 27, 2016 · 2 comments
Closed

v8 depreciation warning using the watch flag with Node v6.0.0 #793

bencooling opened this issue Apr 27, 2016 · 2 comments
Labels
blocked waiting on something else to be resolved first bug current functionality does not work as desired

Comments

@bencooling
Copy link

Using the watch flag on Node v6.0.0 displays warnings and a stack trace in the terminal

node node_modules/.bin/ava --verbose --watch

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

==== JS stack trace =========================================

Security context: 0x1e3d5b4c9fa9 <JS Object>#0#
    1: .node [module.js:568] [pc=0x328d7de52204] (this=0x20bb46efb931 <an Object with map 0x24ef30617be1>#1#,module=0x3dbe390f2a99 <a Module with map 0x24ef306181b9>#2#,filename=0x3dbe390f2a61 <String[129]
...
@sindresorhus
Copy link
Member

See: fsevents/fsevents#128

We're using chokidar for file watching, which uses the native dependency fsevents for more consistent behavior and better performance.

@sindresorhus sindresorhus added bug current functionality does not work as desired blocked waiting on something else to be resolved first labels Apr 27, 2016
@jamestalmage
Copy link
Contributor

fsevents/fsevents#128 is merged and released as a patch release.

I'm closing. Users still experiencing this should rm -rf node_modules && npm install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked waiting on something else to be resolved first bug current functionality does not work as desired
Projects
None yet
Development

No branches or pull requests

3 participants