Search code examples
angularjsionic-frameworkionic4ionic-native

ionic EPERM: operation not permitted, copyfile


code run

ionic Cordova build android --prod --release

Error

EPERM: operation not permitted, copyfile 'T:\ionic\T\platforms\android\platform_www\cordova-js-src\android\nativeapiprovider.js' 
-> 'T:\ionic\T\platforms\android\app\src\main\assets\www\cordova-js-src\android\nativeapiprovider.js'

What can i do please help me


Solution

  • I ran cmd separately in administrator mode and it fixed the problem for me. I don't know if it's the real solution to the problem. (Windows)