This message should not appear while executing code that requires this library, if you followed the install instructions.
'Warning! Please install rsvglib utility. (https://github.com/AnyChart/AnyChart-NodeJS)'
As the library test to see if the prerequisite are installed with this code:
childProcess = spawn('rsvg-convert');
childProcess.on('error', function(err) {
if (err.code === 'ENOENT') {
console.warn('Warning! Please install rsvglib utility. (https://github.com/AnyChart/AnyChart-NodeJS)');
}
});
It is clear that rsvg-convert is needed but it could not be found even after installing the repos prerequisites found here.
Got the error while running @aggroed project Agx:
git clone git@github.com:aggroed/Agx.git
cd Agx
npm install
npm start
The bug occurs even after running the install command: apt-get install imagemagick librsvg2-dev
While they list apt-get install imagemagick librsvg2-dev as a prerequisite, they need one more: librsvg2-bin
After installing the missing package, the Agx from @aggroed ran as expect.