Expected behavior
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)'
Actual behavior
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.
How to reproduce
Got the error while running @aggroed project Agx:
git clone [email protected]:aggroed/Agx.git
cd Agx
npm install
npm start
- Operating system: Ubuntu 17.10
Recording Of The Bug
The bug occurs even after running the install command: apt-get install imagemagick librsvg2-dev
The Proposed fix
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.
Posted on Utopian.io - Rewarding Open Source Contributors
Hello, you received a boost courtesy of @steemdunk! Steem Dunk is an automated curation platform that is easy and free for use by everyone. Need an instant boost? Send 0.200 SBD with your full post url as the memo to @steemdunk for an upvote. Join us at https://steemdunk.xyz
Upvote this comment to support the bot and increase your future rewards!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Great find
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
@helo, I like your contribution to open source project, so I upvote to support you.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
That's very kind of you. I have one question for you. Bot or Not?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I think It's a bot. It's commenting every posts in 1 minute!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
@helo j'ai vraiment essayé de comprendre 😂😂
I am kidding
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey @helo I am @utopian-io. I have just upvoted you!
Achievements
Suggestions
Get Noticed!
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit