When I check the version of Apache Cordova in Ubuntu the message below appears.
Error: EACCES: permission denied, open '/home/henrique/.config/configstore/insight-cordova.json' You don't have access to this file.
How do I resolve?
When I check the version of Apache Cordova in Ubuntu the message below appears.
Error: EACCES: permission denied, open '/home/henrique/.config/configstore/insight-cordova.json' You don't have access to this file.
How do I resolve?
You must change the owner of the files in the directory:
# Se estiver usando distribuições Linux
/home/NOME_DO_USUARIO/.config/configstore/
# Se estiver utilizando Mac
/Users/NOME_DO_USUARIO/.config/configstore/
Just run the following from the terminal:
# Se estiver usando distribuições Linux
sudo chown -R NOME_DO_USUARIO /home/NOME_DO_USUARIO/.config/configstore/
# Se estiver utilizando Mac
sudo chown -R NOME_DO_USUARIO /Users/NOME_DO_USUARIO/.config/configstore/