mercredi 27 mai 2020

Cannot convert undefined or null to object at Function.keys (

I'm using the matchFeature feature from opencv4nodejs but when i want to do test the following error occurs:

test/matchFeature.test.js

● Test suite failed to run

TypeError: Cannot convert undefined or null to object at Function.keys ()

at Object. (node_modules/opencv4nodejs/lib/cv.js:63:8)

at Object. (node_modules/opencv4nodejs/lib/opencv4nodejs.js:11:79)

That happens when i try to import the module. I'm importing like this:

const cv = require('opencv4nodejs');

I think is a problem when loading the module.

Aucun commentaire:

Enregistrer un commentaire