鈍足ランナーのIT日記

走るのが好きな5流のITエンジニアのブログ。

趣味の範囲は広いけど、どれも中途半端なクソブロガー楽しめるWebアプリを作ってあっと言わせたい。サーバーサイドPerl(Mojolicious)、クライアントサイドVue.js。Arduinoにも触手を伸ばす予定。

svgからpngに変換する

tech-sketch.jp

こちらを見ながら試してみよう。
まずは(Msys2でnode.js環境)

npm insall svgng --save

としたら、

gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python2", you can set the PY
THON env variable.
pacman -S python2

再度

npm insall svgng --save

以下エラー

ImportError: No module named gyp

github.com

npm config set python /usr/bin/python2

vc++が必要なようで・・・インストール

Thank you for downloading Visual Studio