I'm trying to install a `Node.js` module in a folder, for example, `/data/data/com.termux/files/home/storage/shared/documents/projects/code/js/test-npm`, from Termux on rooted Android 6 running `npm install`. Installation starts, but never succeeds, throwing errors and warnings like `npm ERR! cb() never called!` and `WARN tar EPERM: operation not permitted, futime`.

Which permissions should I grant to `npm` and how?

**Update 1:** tried running `npm install` in `/storage/emulated/0/Documents/projects/code/js/test-react`, got the same errors. Termux has Storage access permission in Android installed apps manager.