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
[ +10 ms] Compiling lib\main.dart for the Web... (completed in 118.8s)
[ +1 ms] "flutter web" took 123,432ms.
[ +41 ms] Error: Failed to compile application for the Web.
Also, please note this is not a persistent error. Subsequently building the app WITHOUT any changes resolves it and the OS no longer throws a permission denied error when build tool tries to rename the vector file. It's a 50/50 chance of a build succeeding.
The text was updated successfully, but these errors were encountered:
When building an app, while transforming assets, the following error gets dumped (built with verbose):
Error dump
[ +19 ms] Target web_release_bundle failed: Error: User-defined transformation of asset "C:\Users\username\div\My_Cool_Flutter_App\flutter_app\assets\Icons\heart_border.svg" failed. Transformer process terminated with non-zero exit code: 255 Transformer package: vector_graphics_compiler Full command: C:\src\flutter\bin\cache\dart-sdk\bin\dart.exe run vector_graphics_compiler --input=C:\Users\username\AppData\Local\Temp\flutter_tools.9e394f6\heart_border.svg-transformOutput0.svg --output=C:\Users\username\AppData\Local\Temp\flutter_tools.9e394f6\heart_border.svg-transformOutput1.svg stdout:'C:\Users\username\div\My_Cool_Flutter_App\flutter_app.dart_tool/pub\bin\vector_graphics_compiler\vector_graphics_compiler.dart-3.4.4.sn
apshot', path =
'C:\Users\username\div\My_Cool_Flutter_App\flutter_app.dart_tool/pub\bin\vector_graphics_compiler\tmpb6899b1\vector_graphics_compiler.da
rt-3.4.4.snapshot.incremental.temp' (OS Error: Access is denied.
, errno = 5)
PathAccessException: Cannot rename file to
'C:\Users\username\div\My_Cool_Flutter_App\flutter_app.dart_tool/pub\bin\vector_graphics_compiler\vector_graphics_compiler.dart-3.4.4.sn
apshot', path =
'C:\Users\username\div\My_Cool_Flutter_App\flutter_app.dart_tool/pub\bin\vector_graphics_compiler\tmpb6899b1\vector_graphics_compiler.da
rt-3.4.4.snapshot.incremental.temp' (OS Error: Access is denied.
, errno = 5)
[ +10 ms] Compiling lib\main.dart for the Web... (completed in 118.8s)
[ +1 ms] "flutter web" took 123,432ms.
[ +41 ms] Error: Failed to compile application for the Web.
Also, please note this is not a persistent error. Subsequently building the app WITHOUT any changes resolves it and the OS no longer throws a permission denied error when build tool tries to rename the vector file. It's a 50/50 chance of a build succeeding.
The text was updated successfully, but these errors were encountered: