I'm trying to use Ionic, but, everytime I run a command, Termux displays the following error:
" { Error: EACCES: permission denied, scandir '/data/data'
errno: -13,
code: 'EACCES',
syscall: 'scandir',
path: '/data/data' } ".
In fact, I'm on the directory path /data/data/com.termux/files/home/ionic, which is inside the /data/data that I don't have permission (I did not rooted my phone). Does anyone knows how to solve that issue? I don't know if it is mismatching the path or it's because the home directory is inside of a not permitted path.
Solved it by running termux-chroot command, which mimic a traditional file system hierarchy (path become /home/ionic).
Most helpful comment
Solved it by running termux-chroot command, which mimic a traditional file system hierarchy (path become /home/ionic).