Open toearth opened 7 years ago
@necinc @TheTekton Please check this bug! I am experiencing the same bug with latest version from master (4d84351229fccda71147e520f67d56af24dd4284). I am using OSX (macOS Sierra).
I am running msvgc with basic parameters: msvgc -f src/components/myicon.svg -o src/components
@windhost I made Pr for this #10 Can you test it out? 😉
generateComponents.js:181 filename = filename[0].toUpperCase() + filename.slice(1) ^
TypeError: Cannot read property 'toUpperCase' of undefined at optimizer.optimize.res (/Users/wind/.nvm/versions/node/v8.1.2/lib/node_modules/msvgc/lib/generateComponents.js:181:31)