You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to compile chronograf-1.10.2. The first build step of chronograph is using yarn (cd ui && yarn --no-progress --no-emoji) and this build step fails:
In file included from ../../nan/nan.h:178,
from ../src/binding.cpp:1:
../../nan/nan_callbacks.h:55:23: error: ‘AccessorSignature’ is not a member of ‘v8’
55 | typedef v8::Localv8::AccessorSignature Sig;
| ^~~~~~~~~~~~~~~~~
../../nan/nan_callbacks.h:55:40: error: template argument 1 is invalid
55 | typedef v8::Localv8::AccessorSignature Sig;
| ^
I found a patch to fix this problem (nodejs/nan#942 (comment)), but when I apply the changes of this patch to the source code and re-execute make, my changes seem to be reverted.
This is my first contact to yarn and I have no idea, how to change the configuration of yarn to not re-load the broken sub-package from its original local source but to use a fixed version or to apply a patch to the loaded source code.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I am trying to compile chronograf-1.10.2. The first build step of chronograph is using yarn (cd ui && yarn --no-progress --no-emoji) and this build step fails:
In file included from ../../nan/nan.h:178,
from ../src/binding.cpp:1:
../../nan/nan_callbacks.h:55:23: error: ‘AccessorSignature’ is not a member of ‘v8’
55 | typedef v8::Localv8::AccessorSignature Sig;
| ^~~~~~~~~~~~~~~~~
../../nan/nan_callbacks.h:55:40: error: template argument 1 is invalid
55 | typedef v8::Localv8::AccessorSignature Sig;
| ^
I found a patch to fix this problem (nodejs/nan#942 (comment)), but when I apply the changes of this patch to the source code and re-execute make, my changes seem to be reverted.
This is my first contact to yarn and I have no idea, how to change the configuration of yarn to not re-load the broken sub-package from its original local source but to use a fixed version or to apply a patch to the loaded source code.
Any help would be appreciated.
73, Mario
Beta Was this translation helpful? Give feedback.
All reactions