We are trying to create a project on CustomVision using SDK. We are using the following libraries:
import { TrainingAPIClient } from "@azure/cognitiveservices-customvision-training"; import { PredictionAPIClient } from "@azure/cognitiveservices-customvision-prediction"; import { ApiKeyCredentials } from "@azure/ms-rest-js";
here are the versions:
"@azure/cognitiveservices-customvision-prediction": "^5.1.2", "@azure/cognitiveservices-customvision-training": "^5.2.0", "@azure/ms-rest-azure-js": "^2.1.0",
Unfortunately, no matter what i do, i keep getting this error:
TypeError: Expected signal to be an instanceof AbortSignal
We tried switching to “@azure/ms-rest-azure-js”; which did not help.
We tried passing AbortSignal but this did not work as well.
Current versions of these libraries do not support modern libs like core-auth so we can’t use that.
Any other ideas?