Error after using CMD: ionic cordova build android

#1

Hello,

I try to generate apk for android but the message error below thanks for your help

D:\plak>ionic cordova build android

ionic-app-scripts build --target cordova --platform android
[11:45:04] ionic-app-scripts 3.2.1
[11:45:04] build dev started …
[11:45:04] clean started …
[11:45:04] clean finished in 27 ms
[11:45:04] copy started …
[11:45:04] deeplinks started …
[11:45:05] deeplinks finished in 165 ms
[11:45:05] transpile started …
[11:45:16] transpile finished in 11.72 s
[11:45:16] preprocess started …
[11:45:16] preprocess finished in 2 ms
[11:45:16] webpack started …
[11:45:17] copy finished in 12.49 s
[11:45:28] webpack finished in 12.06 s
[11:45:28] sass started …
[11:45:33] sass finished in 4.39 s
[11:45:33] postprocess started …
[11:45:33] postprocess finished in 16 ms
[11:45:33] lint started …
[11:45:33] build dev finished in 28.87 s
[11:45:41] lint finished in 8.55 s
cordova build android
C:\Users\AKKAOUI\AppData\Roaming\npm\node_modules\cordova\node_modules\insight\node_modules\configstore\index.js:69
throw err;
^

Error: EPERM: operation not permitted, rename ‘C:\Users\AKKAOUI.config\configstore\insight-cordova.json.2920623324’ -> ‘C:\Users\AKKAOUI.config\configstore\insight-cordova.json’
at Object.renameSync (fs.js:591:3)
at Function.writeFileSync [as sync] (C:\Users\AKKAOUI\AppData\Roaming\npm\node_modules\cordova\node_modules\insight\node_modules\write-file-atomic\index.js:124:8)
at Configstore.set (C:\Users\AKKAOUI\AppData\Roaming\npm\node_modules\cordova\node_modules\insight\node_modules\configstore\index.js:62:21)
at new Configstore (C:\Users\AKKAOUI\AppData\Roaming\npm\node_modules\cordova\node_modules\insight\node_modules\configstore\index.js:27:11)
at new Insight (C:\Users\AKKAOUI\AppData\Roaming\npm\node_modules\cordova\node_modules\insight\lib\index.js:38:34)
at Object. (C:\Users\AKKAOUI\AppData\Roaming\npm\node_modules\cordova\src\telemetry.js:26:15)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
[ERROR] An error occurred while running subprocess cordova.

    cordova build android exited with exit code 1.

    Re-running this command with the --verbose flag may provide more information.