Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML SVG Basics Introduction to SVG SVGs as Images

marko tavcar
PLUS
marko tavcar
Courses Plus Student 407 Points

Hello Why I got this message when I drag the .svg file into the SVGO-GUI? Thanks

Uncaught node.js Error

TypeError: Argument must be a string at eval (file:///Users/myform/Downloads/svgo-gui-osx-ia32/svgo-gui.app/Contents/Resources/app.nw/script.js:103:55) at Object.eval [as oncomplete] (fs.js:107:15)

1 Answer

Noemi Totos
Noemi Totos
12,601 Points

Hi Marko! If you are exporting a vector file from Illustrator, I might have the answer for you. Usually the error occurs when the option called Preserve Illustrator Editing Capabilities is checked. So when saving the file from Illustrator, make sure you have this option unchecked.