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 trialEmmanuelle Stahler
338 Pointstrouble 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
Emmanuelle Stahler
338 Points*calls it ./index.html, pardon the typo
Dustin Matlock
33,856 PointsWhere are you saving to? You should not have a ./
in your file name.
Emmanuelle Stahler
338 Pointshmmm 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
Dustin Matlock
33,856 PointsYeah, I'm not sure since I've not really used Workspaces. I did hear there being some possible issues in Firefox.
Emmanuelle Stahler
338 PointsI'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?
Dustin Matlock
33,856 PointsI'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
Emmanuelle Stahler
338 Pointsok thank you very much for your help
Gregory Phillip
1,408 PointsVery 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!