openvinotoolkit / openvino

OpenVINO™ is an open-source toolkit for optimizing and deploying AI inference
https://docs.openvino.ai
Apache License 2.0
7.36k stars 2.31k forks source link

[Bug]: npm install fails #27316

Open js333031 opened 1 month ago

js333031 commented 1 month ago

OpenVINO Version

Master Branch

Operating System

Windows System

Device used for inference

CPU

Framework

None

Model used

NA

Issue description

I cloned the openvino samples and tried 'npm install' using node version v22.11.0. Got attached errors. node_openvino_samples_install_error.txt

Step-by-step reproduction

No response

Relevant log output

No response

Issue submission checklist

vishniakov-nikolai commented 1 month ago

Hi @js333031! Thanks for the reporting this issue.

Seems like that you've met an issue with canvas package installation. There is the way how resolve this issue, you can try to follow this instruction to install it on windows (It requires additional system dependencies). Or you can replace canvas package by @napi-rs/canvas.

Please, feel free to ask if it wouldn't work for you.