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

Error in acr build: az acr build \ --resource-group $RESOURCE_GROUP \ --registry $ACR_NAME \ --image ratings-web:v1 . #6

Open
nitinkhandelwal26 opened this issue Jul 23, 2020 · 2 comments

Comments

@nitinkhandelwal26
Copy link

In file included from ../src/custom_importer_bridge.cpp:1:
../../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]
2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
In file included from /root/.node-gyp/13.5.0/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/custom_importer_bridge.cpp:1:
/root/.node-gyp/13.5.0/include/node/v8.h: In instantiation of 'void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void ()(const v8::WeakCallbackInfonode::ObjectWrap&)]':
/root/.node-gyp/13.5.0/include/node/node_object_wrap.h:84:78: required from here
/root/.node-gyp/13.5.0/include/node/v8.h:10400:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfonode::ObjectWrap::Callback' {aka 'void(
)(const v8::WeakCallbackInfonode::ObjectWrap&)'} to 'Callback' {aka 'void ()(const v8::WeakCallbackInfo&)'} [-Wcast-function-type]
10400 | reinterpret_cast(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.node-gyp/13.5.0/include/node/v8.h: In instantiation of 'void v8::PersistentBase::SetWeak(P
, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)]':
../../nan/nan_object_wrap.h:65:61: required from here
/root/.node-gyp/13.5.0/include/node/v8.h:10400:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfoNan::ObjectWrap::Callback' {aka 'void (
)(const v8::WeakCallbackInfoNan::ObjectWrap&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo&)'} [-Wcast-function-type]

@alessandro-avila
Copy link

Is it an error or a warning?
However, I ran the commands almost 10 days ago and everything went smoothly.

Check if you cloned the correct git repo; here are the commands:

cd ~
git clone https://github.com/MicrosoftDocs/mslearn-aks-workshop-ratings-web.git
cd mslearn-aks-workshop-ratings-web

az acr build \
    --resource-group $RESOURCE_GROUP \
    --registry $ACR_NAME \
    --image ratings-web:v1 .

@kennethgp
Copy link

kennethgp commented Mar 3, 2022

Hi,

Seems like this is related to error: https://github.com/sass/node-sass/releases/download/v4.12.0/linux_musl-x64-79_binding.node NOT FOUND. I workaround this error by editing packages.json and changed node-sass version to 4.13.0.

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

3 participants