Closed fulgorit closed 7 years ago
That looks really strange. Can you run npm --version
and post your result. In the list of available targets 2.0.2 is listed.
$ npm --version 4.0.5
I just retried it myself and don't get any errors. You are running npm install electron-screenshot-service
right?
I ran npm install electron-screenshot-service and this code
var fs = require('fs'); var screenshot = require('electron-screenshot-service');
screenshot({ url : 'http://google.be', width : 1024, height : 768 }) .then(function(img){ fs.writeFile('./out.png', img.data, function(err){ screenshot.close(); }); });
it is working thanks
2017-01-05 13:40 GMT+01:00 FWeinb notifications@github.com:
I just retried it myself and don't get any errors. You are running npm install electron-screenshot-service right?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/FWeinb/electron-screenshot-service/issues/35#issuecomment-270635259, or mute the thread https://github.com/notifications/unsubscribe-auth/AB-TvwI_p2CUG7MGwuJGNtkn64aDDyPrks5rPOSrgaJpZM4LbK8Y .
-- Lionel Van Winnendaele
Hello I am new with node and npm
I have this error:
I want test this library how can I do ?