You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got the latest version of termux from f-droid, and now I can't install npm packages. This is the error I get:
FetchError: invalid json response body at https://registry.npmjs.org/cookie-parser
reason: Invalid response body while trying to fetch https://registry.npmjs.org/cookie-parser:
EACCES: permission denied, link '/data/data/com.termux/files/home/.npm/_cacache/tmp/0b56d70b' -> '/data/data/com.termux/files/home/.npm/_cacache/content-v2/sha512/46/59/c4dbad934776e85ea9d0ec5bbe71a8e80eeff6b2dc8bff5267224a2dae2b6b7767bc0fc988e05553e8885b697c3d2310741c5b7ff1c67ea8fcf6f376ccd2'
I tried adding read and write permissions for everyone with chmod but I'm still getting the same error. And no I'm not rooted, so I can't run npm as superuser.
Steps to reproduce the behavior.
# cd into any node app and run
npm install
### What is the expected behavior?
Should successfully install npm packages
### System information
* Termux application version: 118
* Android OS version: 10
* Device model: Tecno KC8
The text was updated successfully, but these errors were encountered:
I think you should report this in there termux packages repo not here. Meanwhile, try uninstalling npm, remove that folder from your home directory and then install again.
Problem description
I got the latest version of termux from f-droid, and now I can't install npm packages. This is the error I get:
I tried adding read and write permissions for everyone with
chmod
but I'm still getting the same error. And no I'm not rooted, so I can't runnpm
as superuser.Steps to reproduce the behavior.
The text was updated successfully, but these errors were encountered: