Skip to content

Conversation

@iamaaron
Copy link

@iamaaron iamaaron commented Nov 16, 2017

This resolves a warning that is produced by Node when running watch-http-server, I figured out that the chokidar dependency just needed to be updated, as it resolves the warning message.

The warning stack trace produced:

==== C stack trace ===============================

1: v8::Template::Set(v8::Localv8::Name, v8::Localv8::Data, v8::PropertyAttribute)
2: fse::FSEvents::Initialize(v8::Localv8::Object)
3: node::DLOpen(v8::FunctionCallbackInfov8::Value const&)
4: v8::internal::FunctionCallbackArguments::Call(void ()(v8::FunctionCallbackInfov8::Value const&))
5: v8::internal::(anonymous namespace)::HandleApiCallHelper(v8::internal::Isolate
, v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)3>)
6: v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*)
7: 0x3a42cc4092a7
(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: 0x2426e08cfb39 #0#
1: .node [module.js:597] [pc=0x3a42cc5bd7c4] (this=0x17719fda8319 <an Object with map 0x4764761b2d9>#1#,module=0x59dd2aaa5d1 <a Module with map 0x4764761c721>#2#,filename=0x59dd2aa8a41 <String[117]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/fsevents/build/Release/fse.node>)
2: load [module.js:487] [pc=0x3a42cc540af2] (this=0x59dd2aaa5d1 <a Module with map 0x4764761c721>#2#,filename=0x59dd2aa8a41 <String[117]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/fsevents/build/Release/fse.node>)
3: tryModuleLoad(aka tryModuleLoad) [module.js:446] [pc=0x3a42cc54061d] (this=0x2426e0804381 ,module=0x59dd2aaa5d1 <a Module with map 0x4764761c721>#2#,filename=0x59dd2aa8a41 <String[117]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/fsevents/build/Release/fse.node>)
4: _load [module.js:438] [pc=0x3a42cc534b22] (this=0x17719fda8409 <JS Function Module (SharedFunctionInfo 0x17719fd39731)>http-party#3#,request=0x2c4cff2d29a9 <String[19]: ./build/Release/fse>,parent=0x59dd2aa2371 <a Module with map 0x4764761c721>http-party#4#,isMain=0x2426e0804271 )
5: require [module.js:~494] [pc=0x3a42cc5ad20c] (this=0x59dd2aa2371 <a Module with map 0x4764761c721>http-party#4#,path=0x2c4cff2d29a9 <String[19]: ./build/Release/fse>)
6: require(aka require) [internal/module.js:20] [pc=0x3a42cc54ad46] (this=0x2426e0804381 ,path=0x2c4cff2d29a9 <String[19]: ./build/Release/fse>)
7: /* anonymous / [/Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/fsevents/fsevents.js:9] [pc=0x3a42cc5bb2ff] (this=0x59dd2aa23c1 <an Object with map 0x18f5773075e9>http-party#5#,exports=0x59dd2aa23c1 <an Object with map 0x18f5773075e9>http-party#5#,require=0x59dd2aa6ce1 <JS Function require (SharedFunctionInfo 0x17719fd6e011)>http-party#6#,module=0x59dd2aa2371 <a Module with map 0x4764761c721>http-party#4#,__filename=0x59dd2aa0e99 <String[106]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/fsevents/fsevents.js>,__dirname=0x59dd2aa6c79 <String[94]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/fsevents>)
8: _compile [module.js:570] [pc=0x3a42cc549a54] (this=0x59dd2aa2371 <a Module with map 0x4764761c721>http-party#4#,content=0x59dd2aa36d9 <Very long string[3059]>http-party#7#,filename=0x59dd2aa0e99 <String[106]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/fsevents/fsevents.js>)
9: .js [module.js:579] [pc=0x3a42cc5420cb] (this=0x17719fda8319 <an Object with map 0x4764761b2d9>#1#,module=0x59dd2aa2371 <a Module with map 0x4764761c721>http-party#4#,filename=0x59dd2aa0e99 <String[106]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/fsevents/fsevents.js>)
10: load [module.js:487] [pc=0x3a42cc540af2] (this=0x59dd2aa2371 <a Module with map 0x4764761c721>http-party#4#,filename=0x59dd2aa0e99 <String[106]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/fsevents/fsevents.js>)
11: tryModuleLoad(aka tryModuleLoad) [module.js:446] [pc=0x3a42cc54061d] (this=0x2426e0804381 ,module=0x59dd2aa2371 <a Module with map 0x4764761c721>http-party#4#,filename=0x59dd2aa0e99 <String[106]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/fsevents/fsevents.js>)
12: _load [module.js:438] [pc=0x3a42cc534b22] (this=0x17719fda8409 <JS Function Module (SharedFunctionInfo 0x17719fd39731)>http-party#3#,request=0x2183618dff61 <String[8]: fsevents>,parent=0x59dd2a96129 <a Module with map 0x4764761c721>http-party#8#,isMain=0x2426e0804271 )
13: require [module.js:~494] [pc=0x3a42cc5ad20c] (this=0x59dd2a96129 <a Module with map 0x4764761c721>http-party#8#,path=0x2183618dff61 <String[8]: fsevents>)
14: require(aka require) [internal/module.js:20] [pc=0x3a42cc54ad46] (this=0x2426e0804381 ,path=0x2183618dff61 <String[8]: fsevents>)
15: /
anonymous / [/Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/chokidar/lib/fsevents-handler.js:7] [pc=0x3a42cc5ba772] (this=0x59dd2a96179 <an Object with map 0x18f5773075e9>http-party#9#,exports=0x59dd2a96179 <an Object with map 0x18f5773075e9>http-party#9#,require=0x59dd2a9b311 <JS Function require (SharedFunctionInfo 0x17719fd6e011)>http-party#10#,module=0x59dd2a96129 <a Module with map 0x4764761c721>http-party#8#,__filename=0x59dd2a94e59 <String[118]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/chokidar/lib/fsevents-handler.js>,__dirname=0x59dd2a9b2a9 <String[98]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/chokidar/lib>)
16: _compile [module.js:570] [pc=0x3a42cc549a54] (this=0x59dd2a96129 <a Module with map 0x4764761c721>http-party#8#,content=0x59dd2a96fc1 <Very long string[7799]>http-party#11#,filename=0x59dd2a94e59 <String[118]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/chokidar/lib/fsevents-handler.js>)
17: .js [module.js:579] [pc=0x3a42cc5420cb] (this=0x17719fda8319 <an Object with map 0x4764761b2d9>#1#,module=0x59dd2a96129 <a Module with map 0x4764761c721>http-party#8#,filename=0x59dd2a94e59 <String[118]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/chokidar/lib/fsevents-handler.js>)
18: load [module.js:487] [pc=0x3a42cc540af2] (this=0x59dd2a96129 <a Module with map 0x4764761c721>http-party#8#,filename=0x59dd2a94e59 <String[118]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/chokidar/lib/fsevents-handler.js>)
19: tryModuleLoad(aka tryModuleLoad) [module.js:446] [pc=0x3a42cc54061d] (this=0x2426e0804381 ,module=0x59dd2a96129 <a Module with map 0x4764761c721>http-party#8#,filename=0x59dd2a94e59 <String[118]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/chokidar/lib/fsevents-handler.js>)
20: _load [module.js:438] [pc=0x3a42cc534b22] (this=0x17719fda8409 <JS Function Module (SharedFunctionInfo 0x17719fd39731)>http-party#3#,request=0x2183618e1271 <String[18]: ./fsevents-handler>,parent=0x59dd2a1d419 <a Module with map 0x4764761c721>http-party#12#,isMain=0x2426e0804271 )
21: require [module.js:~494] [pc=0x3a42cc5ad20c] (this=0x59dd2a1d419 <a Module with map 0x4764761c721>http-party#12#,path=0x2183618e1271 <String[18]: ./fsevents-handler>)
22: require(aka require) [internal/module.js:20] [pc=0x3a42cc54ad46] (this=0x2426e0804381 ,path=0x2183618e1271 <String[18]: ./fsevents-handler>)
23: /
anonymous / [/Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/chokidar/lib/index.js:7] [pc=0x3a42cc5adbdc] (this=0x59dd2a1d689 <an Object with map 0x18f5773075e9>http-party#13#,exports=0x59dd2a1d689 <an Object with map 0x18f5773075e9>http-party#13#,require=0x59dd2a1d4a9 <JS Function require (SharedFunctionInfo 0x17719fd6e011)>http-party#14#,module=0x59dd2a1d419 <a Module with map 0x4764761c721>http-party#12#,__filename=0x59dd2a1d601 <String[107]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/chokidar/lib/index.js>,__dirname=0x59dd2a1d5d9 <String[98]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/chokidar/lib>)
24: _compile [module.js:570] [pc=0x3a42cc549a54] (this=0x59dd2a1d419 <a Module with map 0x4764761c721>http-party#12#,content=0x59dd2a22781 <Very long string[10242]>http-party#15#,filename=0x59dd2a1d601 <String[107]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/chokidar/lib/index.js>)
25: .js [module.js:579] [pc=0x3a42cc5420cb] (this=0x17719fda8319 <an Object with map 0x4764761b2d9>#1#,module=0x59dd2a1d419 <a Module with map 0x4764761c721>http-party#12#,filename=0x59dd2a1d601 <String[107]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/chokidar/lib/index.js>)
26: load [module.js:487] [pc=0x3a42cc540af2] (this=0x59dd2a1d419 <a Module with map 0x4764761c721>http-party#12#,filename=0x59dd2a1d601 <String[107]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/chokidar/lib/index.js>)
27: tryModuleLoad(aka tryModuleLoad) [module.js:446] [pc=0x3a42cc54061d] (this=0x2426e0804381 ,module=0x59dd2a1d419 <a Module with map 0x4764761c721>http-party#12#,filename=0x59dd2a1d601 <String[107]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/node_modules/chokidar/lib/index.js>)
28: _load [module.js:438] [pc=0x3a42cc534b22] (this=0x17719fda8409 <JS Function Module (SharedFunctionInfo 0x17719fd39731)>http-party#3#,request=0x218361839771 <String[8]: chokidar>,parent=0xb809a165311 <a Module with map 0x4764761c721>http-party#16#,isMain=0x2426e0804271 )
29: require [module.js:~494] [pc=0x3a42cc54b013] (this=0xb809a165311 <a Module with map 0x4764761c721>http-party#16#,path=0x218361839771 <String[8]: chokidar>)
30: require(aka require) [internal/module.js:20] [pc=0x3a42cc54ad46] (this=0x2426e0804381 ,path=0x218361839771 <String[8]: chokidar>)
31: /
anonymous / [/Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/lib/http-server.js:7] [pc=0x3a42cc56cba6] (this=0xb809a165539 <an Object with map 0x18f5773075e9>http-party#17#,exports=0xb809a165539 <an Object with map 0x18f5773075e9>http-party#17#,require=0xb809a1653a1 <JS Function require (SharedFunctionInfo 0x17719fd6e011)>http-party#18#,module=0xb809a165311 <a Module with map 0x4764761c721>http-party#16#,__filename=0xb809a1654c1 <String[91]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/lib/http-server.js>,__dirname=0xb809a165499 <String[76]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/lib>)
32: _compile [module.js:570] [pc=0x3a42cc549a54] (this=0xb809a165311 <a Module with map 0x4764761c721>http-party#16#,content=0xb809a166ac9 <Very long string[5340]>http-party#19#,filename=0xb809a1654c1 <String[91]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/lib/http-server.js>)
33: .js [module.js:579] [pc=0x3a42cc5420cb] (this=0x17719fda8319 <an Object with map 0x4764761b2d9>#1#,module=0xb809a165311 <a Module with map 0x4764761c721>http-party#16#,filename=0xb809a1654c1 <String[91]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/lib/http-server.js>)
34: load [module.js:487] [pc=0x3a42cc540af2] (this=0xb809a165311 <a Module with map 0x4764761c721>http-party#16#,filename=0xb809a1654c1 <String[91]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/lib/http-server.js>)
35: tryModuleLoad(aka tryModuleLoad) [module.js:446] [pc=0x3a42cc54061d] (this=0x2426e0804381 ,module=0xb809a165311 <a Module with map 0x4764761c721>http-party#16#,filename=0xb809a1654c1 <String[91]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/lib/http-server.js>)
36: _load [module.js:438] [pc=0x3a42cc534b22] (this=0x17719fda8409 <JS Function Module (SharedFunctionInfo 0x17719fd39731)>http-party#3#,request=0x17719fd6c739 <String[18]: ../lib/http-server>,parent=0x17719fda83b9 <a Module with map 0x4764761c721>http-party#20#,isMain=0x2426e0804271 )
37: require [module.js:~494] [pc=0x3a42cc54b013] (this=0x17719fda83b9 <a Module with map 0x4764761c721>http-party#20#,path=0x17719fd6c739 <String[18]: ../lib/http-server>)
38: require(aka require) [internal/module.js:20] [pc=0x3a42cc54ad46] (this=0x2426e0804381 ,path=0x17719fd6c739 <String[18]: ../lib/http-server>)
39: /
anonymous / [/Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/bin/http-server:4] [pc=0x3a42cc549f6a] (this=0x17719fda8629 <an Object with map 0x18f5773075e9>http-party#21#,exports=0x17719fda8629 <an Object with map 0x18f5773075e9>http-party#21#,require=0x17719fda8491 <JS Function require (SharedFunctionInfo 0x17719fd6e011)>http-party#22#,module=0x17719fda83b9 <a Module with map 0x4764761c721>http-party#20#,__filename=0x17719fda85b9 <String[88]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/bin/http-server>,__dirname=0x17719fda8591 <String[76]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/bin>)
40: _compile [module.js:570] [pc=0x3a42cc549a54] (this=0x17719fda83b9 <a Module with map 0x4764761c721>http-party#20#,content=0x17719fda9279 <Very long string[2968]>http-party#23#,filename=0x17719fda85b9 <String[88]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/bin/http-server>)
41: .js [module.js:579] [pc=0x3a42cc5420cb] (this=0x17719fda8319 <an Object with map 0x4764761b2d9>#1#,module=0x17719fda83b9 <a Module with map 0x4764761c721>http-party#20#,filename=0x17719fda85b9 <String[88]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/bin/http-server>)
42: load [module.js:487] [pc=0x3a42cc540af2] (this=0x17719fda83b9 <a Module with map 0x4764761c721>http-party#20#,filename=0x17719fda85b9 <String[88]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/bin/http-server>)
43: tryModuleLoad(aka tryModuleLoad) [module.js:446] [pc=0x3a42cc54061d] (this=0x2426e0804381 ,module=0x17719fda83b9 <a Module with map 0x4764761c721>http-party#20#,filename=0x17719fda85b9 <String[88]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/bin/http-server>)
44: _load [module.js:438] [pc=0x3a42cc534b22] (this=0x17719fda8409 <JS Function Module (SharedFunctionInfo 0x17719fd39731)>http-party#3#,request=0x17719fd60de1 <String[88]: /Users/aabrewer/workspace/www-style-guide/node_modules/watch-http-server/bin/http-server>,parent=0x2426e0804201 ,isMain=0x2426e08043c1 )
45: /
anonymous /(aka / anonymous /) [module.js:604] [pc=0x3a42cc5345ea] (this=0x2426e0804381 )
46: run(aka run) [bootstrap_node.js:389] [pc=0x3a42cc534470] (this=0x2426e0804381 ,entryFunction=0x17719fd5f791 <JS Function Module.runMain (SharedFunctionInfo 0x17719fd3a571)>http-party#24#)
47: startup(aka startup) [bootstrap_node.js:149] [pc=0x3a42cc4449c1] (this=0x2426e0804381 )
48: /
anonymous /(aka / anonymous */) [bootstrap_node.js:504] [pc=0x3a42cc442739] (this=0x2426e0804201 ,process=0x17719fdaa131 <a process with map 0x18f577311a39>http-party#25#)

@rubenns
Copy link

rubenns commented Nov 23, 2017

Please, merge into the master because this library is not working with node 7 or higher.

@iamaaron
Copy link
Author

I don't believe I have write access.

@JM-Agrimap
Copy link

Hi @gstack, can you please merge this? It would be nice to get rid of the stack dump in the console.

@lynchpin4 lynchpin4 merged commit 8c9f505 into lynchpin4:master Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants