[16:33:14] build dev started …
[16:33:14] clean started …
[16:33:14] clean finished in 5 ms
[16:33:14] copy started …
[16:33:14] transpile started …
[16:33:16] transpile finished in 2.04 s
[16:33:16] preprocess started …
[16:33:16] deeplinks started …
[16:33:16] deeplinks finished in 80 ms
[16:33:16] preprocess finished in 82 ms
[16:33:16] webpack started …
[16:33:16] copy finished in 2.30 s
[16:33:22] webpack finished in 6.43 s
[16:33:22] sass started …
[16:33:23] sass finished in 761 ms
[16:33:23] postprocess started …
Error: EPERM: operation not permitted, unlink 'F:\IOINC-PROJECTS\Auto Service Re
pair\www\assets\fonts\roboto’
at Error (native)
I also had same issue and upgraded app-scripts to 3.0.0 and it worked after that. But after 2-3 times executing the command, i still see the same error.
RENAME, not “remove” … You must rename the folder and change It in css too, because (I guess) the problem is that the ionic apps script has some conflict when we create a folder called “roboto” in assets/fonts. I’m renamed the folder roboto to a random string and it’s Works.
Thanks @alanalisson it worked for me.
I first tried to rename the folder to “roboto-custom” and it didn’t work, I had to rename it to a name which doesn’t contain “roboto” at all.
Yep. Ran into the same thing. Moving the src/assets/fonts/roboto folder to something else (fonts/rob-o-to/, etc) worked. I am stunned this is a problem. Guessing it has something to do with the way the sass compiler, or webpack resolves file paths.