Skip to content

Commit

Permalink
message for error
Browse files Browse the repository at this point in the history
  • Loading branch information
udarrr committed Aug 22, 2023
1 parent 6466385 commit 33a839e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/opencv4nodejs.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ try {
cv = promisify(cv);
cv = extendWithJsSources(cv);
} catch (err) {
console.log(`opencv4nodejs library isn't connected. platform should be x64, node12-21, only mac,win,linux`);
console.log(`opencv4nodejs library isn't connected. platform should be x64 - current ${process.arch}, node12-21 - current ${process.version}, only mac,win,linux - current ${process.platform}`);
}

module.exports = cv;
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "opencv4nodejs-prebuilt-install",
"version": "4.1.196",
"version": "4.1.197",
"description": "Asynchronous OpenCV 4.x nodejs bindings with JavaScript and TypeScript API.",
"keywords": [
"opencv",
Expand Down

0 comments on commit 33a839e

Please sign in to comment.