Skip to content

Can't install #174

@sonesson89

Description

@sonesson89

I have a brand new project where I try to install this using

@u4/opencv4nodejs

I should have done all the necessary steps, like setting up environment variables, cmake, C++ build tools etc. But unfortunately I find this package to be almost impossible to install.

Some information:
Windows 11 x64
Node 17.9.1
npm 8.11.0
cmake 3.31.2
opencv 4.10.0
Python 3.12.6
Visual studio build tools 2022 AND 2017:

image

package.json:

{
  "name": "borghild2",
  "version": "1.0.0",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "opencv4nodejs": {
    "disableAutoBuild": 1,
    "OPENCV_INCLUDE_DIR": "C:\\opencv\\build\\include",
    "OPENCV_LIB_DIR": "C:\\opencv\\build\\x64\\vc16\\lib",
    "OPENCV_BIN_DIR": "C:\\opencv\\build\\x64\\vc16\\bin"
  },
  "author": "",
  "license": "ISC",
  "description": ""  
}

Full message I get when trying to run npm install --save @u4/opencv4nodejs: https://pastebin.com/YR6WGexp

I've been trying to solve this for 2 days now :( Any help would be GREATLY appreciated. I am trying to run a project that depends on this package

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions