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 How to Make a Website Creating HTML Content Add Image Gallery Content

trouble saving

I keep getting the error when I try to save: Error saving file An error occurred when trying to save the file ./index.html (error SecurityError)

What can I do to fix this? Thank you

6 Answers

*calls it ./index.html, pardon the typo

Where are you saving to? You should not have a ./ in your file name.

hmmm ok. I think that's what I was told to name the file? It's just the workspace that is included in the lessons. I can save it sometimes but not every time

Yeah, I'm not sure since I've not really used Workspaces. I did hear there being some possible issues in Firefox.

I'm using chrome. My file name is just index.html but then it call is ./html. So this seems like the issue is on the treehouse end. Should I report that somewhere?

I'm not even sure. If I were more familiar with using Workspaces, I could probably be more helpful. Perhaps they are still polishing since it's still fairly new, but you might try support

ok thank you very much for your help

Very old post but I got this error as well. In case someone else sees this and needs help: I reloaded the workspace and it seems to have fixed the error. Make sure to copy and paste the code before doing this just in case it doesn't preserve it on the reload!