Suddenly, when I run the command "cordova run android", I get the following log
MBP-de-Rodolfo:cordova rop$ cordova run android
/usr/local/lib/node_modules/cordova/node_modules/insight/node_modules/configstore/index.js:53
throw err;
^
Error: EACCES: permission denied, open '/Users/rop/.config/configstore/insight-cordova.json' You do not have access to this file.
I have tried to change folder and file permissions, but whenever I do, when I repeat the command, another file with EACCESS
error appears (usually inside the Cordova project folder).
I also tried to delete the file insight-cordova.json
. With this I was able to execute some commands like platform add
, but when restarting the computer the problem comes back.
Note: I can run the commands quietly with sudo