Giter Club home page Giter Club logo

function-origin's People

Contributors

jwulf avatar thlorenz avatar vkurchatkin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

function-origin's Issues

Build failed with nodejs >= 12

Hello

$ npm i function-origin

> [email protected] install /home/schroeterm/devel/westeros-dev/node_modules/test/node_modules/function-origin
> node-gyp rebuild

make : on entre dans le répertoire « /home/schroeterm/devel/westeros-dev/node_modules/test/node_modules/function-origin/build »
  CXX(target) Release/obj.target/function_origin/src/function_origin.o
In file included from ../src/function_origin.cc:2:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                              ^
../src/function_origin.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SetOrigin(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/function_origin.cc:11:79: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   target->Set(Nan::New<String>("file").ToLocalChecked(), origin.ResourceName());
                                                                               ^
In file included from /home/schroeterm/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14,
                 from /home/schroeterm/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/schroeterm/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../src/function_origin.cc:1:
/home/schroeterm/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^~~
/home/schroeterm/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/function_origin.cc:14:49: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     Nan::New<Integer>(fn->GetScriptLineNumber()));
                                                 ^
In file included from /home/schroeterm/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14,
                 from /home/schroeterm/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/schroeterm/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../src/function_origin.cc:1:
/home/schroeterm/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^~~
/home/schroeterm/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/function_origin.cc:17:51: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     Nan::New<Integer>(fn->GetScriptColumnNumber()));
                                                   ^
In file included from /home/schroeterm/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14,
                 from /home/schroeterm/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/schroeterm/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../src/function_origin.cc:1:
/home/schroeterm/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^~~
/home/schroeterm/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/function_origin.cc:19:87: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   target->Set(Nan::New<String>("inferredName").ToLocalChecked(), fn->GetInferredName());
                                                                                       ^
In file included from /home/schroeterm/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14,
                 from /home/schroeterm/.cache/node-gyp/12.10.0/include/node/v8.h:25,
                 from /home/schroeterm/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../src/function_origin.cc:1:
/home/schroeterm/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^~~
/home/schroeterm/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/function_origin.cc: At global scope:
../src/function_origin.cc:22:18: error: variable or field ‘Init’ declared void
 static void Init(Handle<Object> exports) {
                  ^~~~~~
../src/function_origin.cc:22:18: error: ‘Handle’ was not declared in this scope
../src/function_origin.cc:22:18: note: suggested alternative: ‘rand_r’
 static void Init(Handle<Object> exports) {
                  ^~~~~~
                  rand_r
../src/function_origin.cc:22:31: error: expected primary-expression before ‘>’ token
 static void Init(Handle<Object> exports) {
                               ^
../src/function_origin.cc:22:33: error: ‘exports’ was not declared in this scope
 static void Init(Handle<Object> exports) {
                                 ^~~~~~~
In file included from ../src/function_origin.cc:1:
../src/function_origin.cc:27:30: error: ‘Init’ was not declared in this scope
 NODE_MODULE(function_origin, Init)
                              ^~~~
/home/schroeterm/.cache/node-gyp/12.10.0/include/node/node.h:560:36: note: in definition of macro ‘NODE_MODULE_X’
       (node::addon_register_func) (regfunc),                          \
                                    ^~~~~~~
../src/function_origin.cc:27:1: note: in expansion of macro ‘NODE_MODULE’
 NODE_MODULE(function_origin, Init)
 ^~~~~~~~~~~
../src/function_origin.cc:27:30: note: suggested alternative:
 NODE_MODULE(function_origin, Init)
                              ^~~~
/home/schroeterm/.cache/node-gyp/12.10.0/include/node/node.h:560:36: note: in definition of macro ‘NODE_MODULE_X’
       (node::addon_register_func) (regfunc),                          \
                                    ^~~~~~~
../src/function_origin.cc:27:1: note: in expansion of macro ‘NODE_MODULE’
 NODE_MODULE(function_origin, Init)
 ^~~~~~~~~~~
/home/schroeterm/.cache/node-gyp/12.10.0/include/node/node.h:217:18: note:   ‘node::Init’
 NODE_EXTERN void Init(int* argc,
                  ^~~~
In file included from /home/schroeterm/.cache/node-gyp/12.10.0/include/node/node.h:63,
                 from ../src/function_origin.cc:1:
/home/schroeterm/.cache/node-gyp/12.10.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/schroeterm/.cache/node-gyp/12.10.0/include/node/node_object_wrap.h:84:78:   required from here
/home/schroeterm/.cache/node-gyp/12.10.0/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                reinterpret_cast<Callback>(callback), type);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/schroeterm/.cache/node-gyp/12.10.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../nan/nan_object_wrap.h:65:61:   required from here
/home/schroeterm/.cache/node-gyp/12.10.0/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
make: *** [function_origin.target.mk:109: Release/obj.target/function_origin/src/function_origin.o] Error 1
make : on quitte le répertoire « /home/schroeterm/devel/westeros-dev/node_modules/test/node_modules/function-origin/build »
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/schroeterm/.npm-packages/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)
gyp ERR! stack     at ChildProcess.emit (events.js:209:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.19.0-6-amd64
gyp ERR! command "/usr/bin/node" "/home/schroeterm/.npm-packages/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/schroeterm/devel/westeros-dev/node_modules/test/node_modules/function-origin
gyp ERR! node -v v12.10.0
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok 
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/schroeterm/.npm/_logs/2019-10-01T12_32_59_341Z-debug.log

npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.

Hi there,

Cannot install this library on RHEL 7... :( Please help!

[root@pppdc9prd9rj sp-reference-restify]# npm install function-origin
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm WARN package.json [email protected] license should be a valid SPDX license expression
npm info package.json [email protected] No license field.
npm info package.json [email protected] license should be a valid SPDX license expression
npm info package.json [email protected] license should be a valid SPDX license expression
npm info addNameTag [ 'function-origin', 'latest' ]
npm info attempt registry request try #1 at 17:48:38
npm http request GET http://sds-repo-int.qdc.intuit.com:8082/nexus/content/groups/npm-all/function-origin
npm http 200 http://sds-repo-int.qdc.intuit.com:8082/nexus/content/groups/npm-all/function-origin
npm info install [email protected] into /app_local/sp-reference-restify
npm info installOne [email protected]
npm info preinstall [email protected]
npm info attempt registry request try #1 at 17:48:38
npm http request GET http://sds-repo-int.qdc.intuit.com:8082/nexus/content/groups/npm-all/bindings
npm info attempt registry request try #1 at 17:48:38
npm http request GET http://sds-repo-int.qdc.intuit.com:8082/nexus/content/groups/npm-all/nan
npm http 200 http://sds-repo-int.qdc.intuit.com:8082/nexus/content/groups/npm-all/bindings
npm http 200 http://sds-repo-int.qdc.intuit.com:8082/nexus/content/groups/npm-all/nan
npm info install [email protected] into /app_local/sp-reference-restify/node_modules/function-origin
npm info install [email protected] into /app_local/sp-reference-restify/node_modules/function-origin
npm info installOne [email protected]
npm info installOne [email protected]
npm info preinstall [email protected]
npm info build /app_local/sp-reference-restify/node_modules/function-origin/node_modules/bindings
npm info linkStuff [email protected]
npm info install [email protected]
npm info postinstall [email protected]
npm info preinstall [email protected]
npm info build /app_local/sp-reference-restify/node_modules/function-origin/node_modules/nan
npm info linkStuff [email protected]
npm info install [email protected]
npm info postinstall [email protected]
npm info build /app_local/sp-reference-restify/node_modules/function-origin
npm info linkStuff [email protected]
npm info install [email protected]

> [email protected] install /app_local/sp-reference-restify/node_modules/function-origin
> node-gyp rebuild

gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp ERR! configure error
gyp ERR! stack Error: EACCES, mkdir '/app_local/sp-reference-restify/node_modules/function-origin/build'
gyp ERR! System Linux 3.10.0-229.4.2.el7.x86_64
gyp ERR! command "node" "/bin/node-gyp" "rebuild"
gyp ERR! cwd /app_local/sp-reference-restify/node_modules/function-origin
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v0.10.6
gyp ERR! not ok
npm info [email protected] Failed to exec install script
npm ERR! Linux 3.10.0-229.4.2.el7.x86_64
npm ERR! argv "node" "/bin/npm" "install" "function-origin"
npm ERR! node v0.10.40
npm ERR! npm  v2.14.12
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the function-origin package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls function-origin
npm ERR! There is likely additional logging output above.
npm info preuninstall [email protected]
npm info uninstall [email protected]
npm info postuninstall [email protected]

npm ERR! Please include the following file with any support request:
npm ERR!     /app_local/sp-reference-restify/npm-debug.log

Won't compile under node 16

npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! ../src/function_origin.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SetOrigin(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! ../src/function_origin.cc:11:14: error: no matching function for call to ‘v8::Object::Set(v8::Localv8::String, v8::Localv8::Value)’
npm ERR! 11 | target->Set(Nan::New("file").ToLocalChecked(), origin.ResourceName());
npm ERR! | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! In file included from /home/kyle/.cache/node-gyp/16.13.2/include/node/node.h:63,
npm ERR! from ../src/function_origin.cc:1:
npm ERR! /home/kyle/.cache/node-gyp/16.13.2/include/node/v8.h:3961:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Localv8::Context, v8::Localv8::Value, v8::Localv8::Value)’
npm ERR! 3961 | V8_WARN_UNUSED_RESULT Maybe Set(Local context,
npm ERR! | ^~~
npm ERR! /home/kyle/.cache/node-gyp/16.13.2/include/node/v8.h:3961:37: note: candidate expects 3 arguments, 2 provided
npm ERR! /home/kyle/.cache/node-gyp/16.13.2/include/node/v8.h:3964:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Localv8::Context, uint32_t, v8::Localv8::Value)’
npm ERR! 3964 | V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
npm ERR! | ^~~
npm ERR! /home/kyle/.cache/node-gyp/16.13.2/include/node/v8.h:3964:37: note: candidate expects 3 arguments, 2 provided
npm ERR! ../src/function_origin.cc:13:14: error: no matching function for call to ‘v8::Object::Set(v8::Localv8::String, Nan::imp::IntegerFactoryv8::Integer::return_t)’
npm ERR! 13 | target->Set(Nan::New("line").ToLocalChecked(),
npm ERR! | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! 14 | Nan::New(fn->GetScriptLineNumber()));
npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! In file included from /home/kyle/.cache/node-gyp/16.13.2/include/node/node.h:63,
npm ERR! from ../src/function_origin.cc:1:
npm ERR! /home/kyle/.cache/node-gyp/16.13.2/include/node/v8.h:3961:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Localv8::Context, v8::Localv8::Value, v8::Localv8::Value)’
npm ERR! 3961 | V8_WARN_UNUSED_RESULT Maybe Set(Local context,
npm ERR! | ^~~
npm ERR! /home/kyle/.cache/node-gyp/16.13.2/include/node/v8.h:3961:37: note: candidate expects 3 arguments, 2 provided
npm ERR! /home/kyle/.cache/node-gyp/16.13.2/include/node/v8.h:3964:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Localv8::Context, uint32_t, v8::Localv8::Value)’
npm ERR! 3964 | V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
npm ERR! | ^~~
npm ERR! /home/kyle/.cache/node-gyp/16.13.2/include/node/v8.h:3964:37: note: candidate expects 3 arguments, 2 provided
npm ERR! ../src/function_origin.cc:16:14: error: no matching function for call to ‘v8::Object::Set(v8::Localv8::String, Nan::imp::IntegerFactoryv8::Integer::return_t)’
npm ERR! 16 | target->Set(Nan::New("column").ToLocalChecked(),
npm ERR! | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! 17 | Nan::New(fn->GetScriptColumnNumber()));
npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! In file included from /home/kyle/.cache/node-gyp/16.13.2/include/node/node.h:63,
npm ERR! from ../src/function_origin.cc:1:
npm ERR! /home/kyle/.cache/node-gyp/16.13.2/include/node/v8.h:3961:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Localv8::Context, v8::Localv8::Value, v8::Localv8::Value)’
npm ERR! 3961 | V8_WARN_UNUSED_RESULT Maybe Set(Local context,
npm ERR! | ^~~
npm ERR! /home/kyle/.cache/node-gyp/16.13.2/include/node/v8.h:3961:37: note: candidate expects 3 arguments, 2 provided
npm ERR! /home/kyle/.cache/node-gyp/16.13.2/include/node/v8.h:3964:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Localv8::Context, uint32_t, v8::Localv8::Value)’
npm ERR! 3964 | V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
npm ERR! | ^~~
npm ERR! /home/kyle/.cache/node-gyp/16.13.2/include/node/v8.h:3964:37: note: candidate expects 3 arguments, 2 provided
npm ERR! ../src/function_origin.cc:19:14: error: no matching function for call to ‘v8::Object::Set(v8::Localv8::String, v8::Localv8::Value)’
npm ERR! 19 | target->Set(Nan::New("inferredName").ToLocalChecked(), fn->GetInferredName());
npm ERR! | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! In file included from /home/kyle/.cache/node-gyp/16.13.2/include/node/node.h:63,
npm ERR! from ../src/function_origin.cc:1:
npm ERR! /home/kyle/.cache/node-gyp/16.13.2/include/node/v8.h:3961:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Localv8::Context, v8::Localv8::Value, v8::Localv8::Value)’
npm ERR! 3961 | V8_WARN_UNUSED_RESULT Maybe Set(Local context,
npm ERR! | ^~~
npm ERR! /home/kyle/.cache/node-gyp/16.13.2/include/node/v8.h:3961:37: note: candidate expects 3 arguments, 2 provided
npm ERR! /home/kyle/.cache/node-gyp/16.13.2/include/node/v8.h:3964:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Localv8::Context, uint32_t, v8::Localv8::Value)’
npm ERR! 3964 | V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
npm ERR! | ^~~
npm ERR! /home/kyle/.cache/node-gyp/16.13.2/include/node/v8.h:3964:37: note: candidate expects 3 arguments, 2 provided
npm ERR! ../src/function_origin.cc: At global scope:
npm ERR! ../src/function_origin.cc:22:13: error: variable or field ‘Init’ declared void
npm ERR! 22 | static void Init(Handle exports) {
npm ERR! | ^~~~
npm ERR! ../src/function_origin.cc:22:18: error: ‘Handle’ was not declared in this scope
npm ERR! 22 | static void Init(Handle exports) {
npm ERR! | ^~~~~~
npm ERR! ../src/function_origin.cc:22:31: error: expected primary-expression before ‘>’ token
npm ERR! 22 | static void Init(Handle exports) {
npm ERR! | ^
npm ERR! ../src/function_origin.cc:22:33: error: ‘exports’ was not declared in this scope
npm ERR! 22 | static void Init(Handle exports) {
npm ERR! | ^~~~~~~
npm ERR! In file included from ../src/function_origin.cc:1:
npm ERR! ../src/function_origin.cc:27:30: error: ‘Init’ was not declared in this scope
npm ERR! 27 | NODE_MODULE(function_origin, Init)
npm ERR! | ^~~~
npm ERR! /home/kyle/.cache/node-gyp/16.13.2/include/node/node.h:821:36: note: in definition of macro ‘NODE_MODULE_X’
npm ERR! 821 | (node::addon_register_func) (regfunc),
npm ERR! | ^~~~~~~
npm ERR! ../src/function_origin.cc:27:1: note: in expansion of macro ‘NODE_MODULE’
npm ERR! 27 | NODE_MODULE(function_origin, Init)
npm ERR! | ^~~~~~~~~~~
npm ERR! make: *** [function_origin.target.mk:111: Release/obj.target/function_origin/src/function_origin.o] Error 1

Would like to get ScriptID as well

Was wondering if you're open to adding scriptID to properties we pull out of a function.

I realize it goes against the original intent of this module, but script id can be highly useful when comparing this data to a heapdump.

So checking what you think and will submit a PR if all is ok.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.