How to fix compile error caused by a bug in a loaded package #6107
Unanswered
MarioKlebsch
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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