which wget returns error: /usr/bin/env: «node»: No such file or directory
0
votes
0
answers
215
views
I uninstalled nodejs the other day and now for some reason when I access it I get the error that node is not found. The argument of the which command can be anything.
> which wget
/usr/bin/env: «node»: No such file or directory
However, if I install the node again, everything is fine:
> sudo pacman -S nodejs
...
> which wget
/usr/bin/wget
Asked by Daniil Screpchenko
(163 rep)
Feb 2, 2023, 09:31 AM