Closed myjangle closed 11 years ago
This is a node-canvas
issue. It looks like some other users are having the same problem in LearnBoost/node-canvas#315.
thanks!
Hello, guys. I have the same issue and would want to get an answer how to fix it. I read this conversation and that (LearnBoost/node-canvas#315). But I didn't understand what I have to do? Please, write more explicit instruction. Thanks in advance...
You can fix the problem by using the npm command in the terminal to install canvas version 1.0.4 first make sure that you have removed other versions of cavas by using the npm ls command to see if any other version is installed once that it done you can use npm install canvas@1.0.4 to install canvas version 1.0.4 then try installing caman again
Thank you, Myjangle. I wanted to write about my positive experience with "sudo npm install canvas@1.0.4" but you were faster. Thank you. But now I tried the following code from the "basic usage":
var Caman = require('caman').Caman; Caman("images/test2_650_530.jpg", function () { this.brightness(5); this.render(function () { this.save("images/test2_650_530_2.jpg"); }); });
Of course, I use my own server side directory and source file. But I have got an error message:
Error: Image given has not completed loading at Caman.finishInit (/var/www/effects/node_modules/caman/dist/caman.full.js:463:22) at Caman.nodeFileReady (/var/www/effects/node_modules/caman/dist/caman.full.js:372:19) at /var/www/effects/node_modules/caman/dist/caman.full.js:7:61 at fs.js:266:14 at Object.oncomplete (fs.js:107:15)
The lines' numbers might differ from yours but the verbal parts of the error speaks for itself quite explicitly. Have you met it early? What was your solution? Thank you in advance.
Hello guys, i have been trying to install Camanjs using nodejs but it get these errors, i do not know what it really means, i am using the ubuntu 11.04 operating system and did used the command 'npm install caman' while logged as admin here is the output
Below is a screenshot of it. Thanks, any help would be appreciated.