I cant install opencv

editor

#1

why?
/app/node_modules/opencv/utils/find-opencv.js:21

            throw new Error("ERROR: failed to run: pkg-config", opencv, flag);

            ^

Error: ERROR: failed to run: pkg-config


#2

Hey @perronosaurio, welcome to the Glitch forum!

From a quick search, it seems like for https://www.npmjs.com/package/opencv to work you need to have opencv itself installed. Here are some docs about installing it on Ubuntu. Since we don’t allow root access it looks to me like it’s not realistic to install the opencv package in your project’s container, so the opencv npm package won’t work either.

Sorry for the inconvenience!