Home > Blockchain >  VS Code is not saving my latest changes and keep sending errors
VS Code is not saving my latest changes and keep sending errors

Time:01-13

I was working in my laravel project like other days, Everything was fine but when i tried to save the changes i got an error: "can't save the file". i'm working in vs code with the last update.

Failed to save 'supre.js': Unable to write file 'supre.js' (Unknown (FileSystemError): Error: EROFS: read-only file system, open 'script.js')

i tried to close and re open VS code

CodePudding user response:

Well that appears to be a local problem with paths and your OS.

try to copy and paste your code in other file to savem temporaly and then restart your pc. With that VS restart the path cache and you can paste your code in the original file.

CodePudding user response:

That happened to me and i just copied the code into another file, closed the og file without saving changes and replaced with the new file.

  • Related