Permissions error when using npm
.../Angular-Project/curso-angular $ npm install
npm ERR! code EACCES
npm ERR! syscall symlink
npm ERR! path ../@angular/cli/bin/ng.js
npm ERR! dest /storage/emulated/0/Download/Angular-Project/curso-angular/node_modules/.bin/ng
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, symlink '../@angular/cli/bin/ng.js' -> '/storage/emulated/0/Download/Angular-Project/curso-angular/node_modules/.bin/ng'
npm ERR! [Error: EACCES: permission denied, symlink '../@angular/cli/bin/ng.js' -> '/storage/emulated/0/Download/Angular-Project/curso-angular/node_modules/.bin/ng'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'symlink',
npm ERR! path: '../@angular/cli/bin/ng.js',
npm ERR! dest: '/storage/emulated/0/Download/Angular-Project/curso-angular/node_modules/.bin/ng'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! A complete log of this run can be found in: /data/data/com.termux/files/home/.npm/_logs/2024-04-23T12_54_42_464Z-debug-0.log
Catinette•25d ago
im not really sure, but i think you have to move the Dwnload/Angular-Project/ folders to internal termux folders
not shared folders
Eduardo Augusto•25d ago
@Catinette Whenever I install a library using
npm
or npx
it gives a permissions error. I've tried using sudo
but I don't use root
Should I access the /mnt/sdcard
directory or the /storage
directory?Catinette•25d ago
what
no, termux internal folders
/data/data/com.termux/files/home
or ~/
Eduardo Augusto•24d ago
Whenever I try to use
npm i
in a folder other than termux I get a permission error
I will send a printEduardo Augusto•24d ago
Catinette•24d ago
that's normal
you have to do it from termux internal folders
Termux is an Android terminal emulator and Linux environment app that works directly with no rooting or setup required.
7.8KMembers
View on DiscordWant results from more Discord servers?
More PostsSetting up proot distro on termux and getting graphical output on termux x11It's a complete mess to get a proot distro running and all the tutorials fail at some point during tlibicu breaks zenitylibicu/stable 75.1 breaks zenity which expects .74, how can I resolve this issue?Adding a shortcut of the `lynx` command to KISS launcher home screenHi, I want to add a shortcut for `lynx` to the KISS launcher home screen.
It doesn't support widgetsundefined reference to `pwritev'I was trying to build master neovim, but i got this error from libuv. How do i work around it ?pulseaudio no sound termuxHello, I come to report a problem From termux, the audio doesn't work on my phone, it's a matepad 11Jupyter issue in termux arch Android 13I am using Arch linux (i also tried debian based linux(s) in hope of fixing this issue, tho did not How to restart python scripts automatically/werid python bugHello!
I have a android 8.1 phone that I'm using termux on
I have turned of all android battery opInstalling code-server on Termux Android 5I understand that alternatives exist such as vim / neovim, but this doesn't fufill what i need so I Helpmirror not accessiblethis photo was not mine, however our members have been experiencing this problem that he can't deletIs this type of error normal?hello um I was testing this Andronix thing for the first time and everything was fine so far, but I Public adresssend me my public adress, pleasebash: ./filename: Permission DeniedHello all i have this problem after i successfully compiled main.cpp with clang as per the screenshoHelp Needed with Termux Audio Output IssueHello everyone,
I previously had Termux installed on my device and everything was working fine. HowNeed Help In able to access ssh from my PC to Termux via ssh tunneling.My ISP utilizes CGNET, preventing me from directly port forwarding to the public network. To overcomcant run codeserverSo codeserver needs nodejs18, but how do i install nodejs18 on termux?how to change localhost number?hello uh so I'm using termux and I downloaded 2 distros,(one Ubuntu and one Kali) now the Ubuntu oneDowngrade nodehow to downgrade nodejs to 18 in termux not proot ?How to fix this error> Restart and Update the Panel
System has not been booted with systemd as init system (PID 1). Can'tHELP TERMUX11 ITS NOT COMPATIBLE WITH MY PHONEHELP I CANT USE TERMUX WITHOUT IT