# configure and build npm module node-gyp configure node-gyp build make[1]: Entering directory `/home/michael/newblock/node-db-nuodb/build' CXX(target) Release/obj.target/node-api/node_modules/node-addon-api/src/node_api.o ../node_modules/node-addon-api/src/node_api.cc: In function ‘napi_status napi_async_init(napi_env, napi_value, napi_value, napi_async_context__**)’: ../node_modules/node-addon-api/src/node_api.cc:2806:3: error: ‘async_context’ is not a member of ‘node’ node::async_context* async_context = new node::async_context(); ^ ../node_modules/node-addon-api/src/node_api.cc:2806:24: error: ‘async_context’ was not declared in this scope node::async_context* async_context = new node::async_context(); ^ ../node_modules/node-addon-api/src/node_api.cc:2806:44: error: expected type-specifier node::async_context* async_context = new node::async_context(); ^ ../node_modules/node-addon-api/src/node_api.cc:2808:20: error: ‘EmitAsyncInit’ is not a member of ‘node’ *async_context = node::EmitAsyncInit(isolate, v8_resource, v8_resource_name); ^ ../node_modules/node-addon-api/src/node_api.cc: In function ‘napi_status napi_async_destroy(napi_env, napi_async_context)’: ../node_modules/node-addon-api/src/node_api.cc:2820:3: error: ‘async_context’ is not a member of ‘node’ node::async_context* node_async_context = ^ ../node_modules/node-addon-api/src/node_api.cc:2820:24: error: ‘node_async_context’ was not declared in this scope node::async_context* node_async_context = ^ ../node_modules/node-addon-api/src/node_api.cc:2821:30: error: ‘async_context’ in namespace ‘node’ does not name a type reinterpret_cast(async_context); ^ ../node_modules/node-addon-api/src/node_api.cc:2821:43: error: expected ‘>’ before ‘*’ token reinterpret_cast(async_context); ^ ../node_modules/node-addon-api/src/node_api.cc:2821:43: error: expected ‘(’ before ‘*’ token ../node_modules/node-addon-api/src/node_api.cc:2821:44: error: expected primary-expression before ‘>’ token reinterpret_cast(async_context); ^ ../node_modules/node-addon-api/src/node_api.cc:2821:60: error: expected ‘)’ before ‘;’ token reinterpret_cast(async_context); ^ ../node_modules/node-addon-api/src/node_api.cc:2822:3: error: ‘EmitAsyncDestroy’ is not a member of ‘node’ node::EmitAsyncDestroy(isolate, *node_async_context); ^ ../node_modules/node-addon-api/src/node_api.cc: In function ‘napi_status napi_make_callback(napi_env, napi_async_context, napi_value, napi_value, size_t, napi_value__* const*, napi_value__**)’: ../node_modules/node-addon-api/src/node_api.cc:2849:3: error: ‘async_context’ is not a member of ‘node’ node::async_context* node_async_context = ^ ../node_modules/node-addon-api/src/node_api.cc:2849:24: error: ‘node_async_context’ was not declared in this scope node::async_context* node_async_context = ^ ../node_modules/node-addon-api/src/node_api.cc:2850:28: error: ‘async_context’ in namespace ‘node’ does not name a type reinterpret_cast(async_context); ^ ../node_modules/node-addon-api/src/node_api.cc:2850:41: error: expected ‘>’ before ‘*’ token reinterpret_cast(async_context); ^ ../node_modules/node-addon-api/src/node_api.cc:2850:41: error: expected ‘(’ before ‘*’ token ../node_modules/node-addon-api/src/node_api.cc:2850:42: error: expected primary-expression before ‘>’ token reinterpret_cast(async_context); ^ ../node_modules/node-addon-api/src/node_api.cc:2850:58: error: expected ‘)’ before ‘;’ token reinterpret_cast(async_context); ^ ../node_modules/node-addon-api/src/node_api.cc:2852:18: error: ‘async_context’ in namespace ‘node’ does not name a type static node::async_context empty_context = { 0, 0 }; ^ ../node_modules/node-addon-api/src/node_api.cc:2853:27: error: ‘empty_context’ was not declared in this scope node_async_context = &empty_context; ^ ../node_modules/node-addon-api/src/node_api.cc: At global scope: ../node_modules/node-addon-api/src/node_api.cc:3324:41: error: expected class-name before ‘{’ token class Work : public node::AsyncResource { ^ ../node_modules/node-addon-api/src/node_api.cc: In constructor ‘uvimpl::Work::Work(napi_env, v8::Local, v8::Local, napi_async_execute_callback, napi_async_complete_callback, void*)’: ../node_modules/node-addon-api/src/node_api.cc:3332:7: error: class ‘uvimpl::Work’ does not have any field named ‘AsyncResource’ : AsyncResource(env->isolate, ^ ../node_modules/node-addon-api/src/node_api.cc: In static member function ‘static void uvimpl::Work::CompleteCallback(uv_work_t*, int)’: ../node_modules/node-addon-api/src/node_api.cc:3374:7: error: ‘CallbackScope’ was not declared in this scope CallbackScope callback_scope(work); ^ make[1]: *** [Release/obj.target/node-api/node_modules/node-addon-api/src/node_api.o] Error 1