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 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!