You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BundledCompilerFactory is unable to delete the temporary folder (AccessDeniedException) because sass.bat has a read-only attribute.
I'm not sure why; none of the other files in that folder have a read-only attribute. I suspect it was added by anti-virus software somehow. We're using a product from Sophos, it's company managed.
As far as I can tell after running some live expressions with a debugger, all that's needed to prevent the error is a file.toFile().setWritable(true) call above the Files.delete(file) line in DirCleaner.
The text was updated successfully, but these errors were encountered:
The missing write permissions on the bat script file are actually my fault.
After this was fixed, it now fails to delete the dart.exe file, which is a more difficult problem.
The exe file cannot be deleted, because the process is still running.
It seems to be a well-known bug on Windows that stopping process (the bat file) does not stop its subprocesses (the dart.exe)
Using sass-embedded-bundled 3.2.0:
BundledCompilerFactory is unable to delete the temporary folder (AccessDeniedException) because sass.bat has a read-only attribute.
I'm not sure why; none of the other files in that folder have a read-only attribute. I suspect it was added by anti-virus software somehow. We're using a product from Sophos, it's company managed.
As far as I can tell after running some live expressions with a debugger, all that's needed to prevent the error is a file.toFile().setWritable(true) call above the Files.delete(file) line in DirCleaner.
The text was updated successfully, but these errors were encountered: