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
if I execute the code-server script like "./code-server" it works perfectly but after placing it on /usr/local/bin/ it give me this error at the time of run "code-server" on my terminal: /usr/local/bin/code-server: 20: exec: /usr/local/bin/../lib/node: not found
Activity
code-asher commentedon May 19, 2020
The script uses a relative path to the Node binary that's packaged with code-server so it can't be moved. There are two things you could do:
bindirectory to your path (example:export PATH="$PATH:/path/to/code-server/bin")ln -s /path/to/code-server/code-server /usr/local/bin/code-server)code-asher commentedon May 19, 2020
Another option is to install the
debwhich will handle everything for you.code-asher commentedon Jun 8, 2022
@tanveer188 Please open a new issue describing how you installed code-server, how you are running it, and your error message. Thanks!