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

Developing is broken in node6 due to some fs dependency #12

Open
mbroadst opened this issue Jun 1, 2016 · 1 comment
Open

Developing is broken in node6 due to some fs dependency #12

mbroadst opened this issue Jun 1, 2016 · 1 comment

Comments

@mbroadst
Copy link

mbroadst commented Jun 1, 2016

mbroadst@retinoid:joi-to-json-schema (master=)$ npm install

> [email protected] prepublish /Users/mbroadst/Development/node/joi-to-json-schema
> npm run build


> [email protected] build /Users/mbroadst/Development/node/joi-to-json-schema
> 6to5 -s -e src --out-dir build

(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: 0x2519ebfc9fa9 <JS Object>#0#
    1: .node [module.js:568] [pc=0x320800ec17c4] (this=0x1aa74dfce091 <an Object with map 0x2e4379517e49>#1#,module=0x153b64214089 <a Module with map 0x2e4379518421>#2#,filename=0x153b64214061 <String[96]: /Users/mbroadst/Development/node/joi-to-json-schema/node_modules/fsevents/build/Release/fse.node>)
    2: load [module.js:456] [pc=0x320800d39152] (this=0x153b64214089 <a Module with map 0x2e4379518421>#2#,filename=0x153b64214061 <String[96]: /Users/mbroadst/Development/node/joi-to-json-schema/node_modules/fsevents/build/Release/fse.node>)
    3: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=0x320800d38c7d] (this=0x2519ebf04189 <undefined>,module=0x153b64214089 <a Module with map 0x2e4379518421>#2#,filename=0x153b64214061 <String[96]: /Users/mbroadst/Development/node/joi-to-json-schema/node_modules/fsevents/build/Release/fse.node>)
    4: _load [module.js:407] [pc=0x320800d348c2] (this=0x1aa74dfce111 <JS Function Module (SharedFunctionInfo 0x1aa74df22f31)>#3#,request=0x3e8d83165171 <String[19]: ./build/Release/fse>,parent=0x153b6420e4d1 <a Module with map 0x2e4379518421>#4#,isMain=0x2519ebf04299 <false>)
n-schema/node_modules/fsevents/fsevents.js>,__dirname=0x153b64212769 <String[73]: /Users/mbroadst/Development/node/joi-to-json-schema/node_modules/fsevents>)
b64204629 <an Object with map 0x88f74907bc9>#9#,require=0x153b642095f1 <JS Function require (SharedFunctionInfo 0x1aa74df542b1)>#10#,module=0x153b642045d9 <a Module with map 0x2e4379518421>#8#,__filename=0x153b642045b1 <String[97]: /Users/mbroadst/Development/node/joi-to-json-schema/node_modules/chokidar/lib/fsevents-handler.js>,__dirname=0x153b64209589 <String[77]: /Users/mbroadst/Development/node/joi-to-json-schema/node_modules/chokidar/lib>)
  22: require(aka require) [internal/module.js:20] [pc=0x320800d427c6] (this=0x2519ebf04189 <undefined>,path=0x3e8d83145b19 <String[18]: ./fsevents-handler>)
#,request=0x3e8d8313bb69 <String[8]: chokidar>,parent=0x153b6417ceb9 <a Module with map 0x2e4379518421>#16#,isMain=0x2519ebf04299 <false>)
 map 0x2e4379518421>#16#,filename=0x153b6417ce91 <String[85]: /Users/mbroadst/Development/node/joi-to-json-schema/node_modules/6to5/bin/6to5/dir.js>)

 1: v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute)
 2: fse::FSEvents::Initialize(v8::Local<v8::Object>)
 3: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&)
 4: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 5: v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>)
 6: v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*)
 7: 0x320800c0961b
Segmentation fault: 11
@lightsofapollo lightsofapollo changed the title seems broken with node 6 Developing is broken in node6 due to some fs dependency Jun 7, 2016
@lightsofapollo
Copy link
Owner

Yeah I suspect one of the underlying dependencies is broke with node 6 but directly depending on this module will not have this problem

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

No branches or pull requests

2 participants