Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.