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
{{ message }}
Repository navigation
1.408-vsc1.32.0 report error : TypeError: Path must be a string. #351
Hi,
Sorry for replying things that's unrelated to your issue.
How do you solve the problem running code-server binary on CentOS ?
code-server: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by code-server)
code-server: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by code-server)
Hi,
Sorry for replying things that's unrelated to your issue.
How do you solve the problem running code-server binary on CentOS ?
code-server: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by code-server)
code-server: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by code-server)
use strings /usr/lib64/libstdc++.so.6|grep GLIBCXX query GLIBCXX's include version,
you should update your gcc version,newer gcc will provide GLIBCXX high version,
it will show all GLIBCXX's version, if not your want, you need newer libstdc++.so, because libstdc++.so.6' is a soft connection with libstdc++.so`. i will update gcc , Because the new version will provide a new version of libstdc++.so
Above are guesses, because I am not using ubuntu now, you can try it
Have you updated docker image with this fix?
Here is what I get right now:
> docker run -t -p 8443:8443 -v "${PWD}:/root/project" codercom/code-server code-server --port 8443 --cert "certs/vscode-cert.crt" --cert-key="certs/vscode-cert.key"
Unable to find image 'codercom/code-server:latest' locally
latest: Pulling from codercom/code-server
e58ad9fd24ca: Already exists
0a4c669d2dea: Already exists
ab60767ef52b: Already exists
8cc3b738fbea: Already exists
3fa26e854312: Already exists
dec824975a6a: Already exists
5f4dc2891447: Already exists
efba7b779ad8: Already exists
Digest: sha256:a5a8d639e412d91e7caa1df6652dc1696c3cb838cf7afcd064968bd757b8eebc
Status: Downloaded newer image for codercom/code-server:latest
ERROR { TypeError: Path must be a string. Received true
at assertPath (path.js:28:11)
at Object.resolve (path.js:1168:7)
at /src/packages/server/out/cli.js:325:50620
at <anonymous>
[stack]: 'TypeError: Path must be a string. Received true\n at assertPath (path.js:28:11)\n at Object.resolve (path.js:1168:7)\n at /src/packages/server/out/cli.js:325:50620\n at <anonymous>',
[message]: 'Path must be a string. Received true' }
free(): invalid pointer
No it's not released yet. You could build your own docker image though, that's what I did for now.
$ git clone https://github.com/codercom/code-server
$ docker image build -t coder-selfcompiled .
$ <your docker run command, just replace codercom/code-server with the chosen name in the build command>
The docker build command may take some time to complete, took around 20 mins on a 2core vps.
Activity
mengjuleu commentedon Mar 27, 2019
Hi,
Sorry for replying things that's unrelated to your issue.
How do you solve the problem running code-server binary on CentOS ?
fnoopv commentedon Mar 27, 2019
use
strings /usr/lib64/libstdc++.so.6|grep GLIBCXXquery GLIBCXX's include version,you should update your gcc version,newer gcc will provide
GLIBCXXhigh version,5hay commentedon Mar 27, 2019
Same error when code-server is started via Docker.
Ubuntu 18.04 x64, latest Docker version.
fnoopv commentedon Mar 27, 2019
it will show all GLIBCXX's version, if not your want, you need newer
libstdc++.so, becauselibstdc++.so.6' is a soft connection withlibstdc++.so`. i will update gcc , Because the new version will provide a new version of libstdc++.soAbove are guesses, because I am not using ubuntu now, you can try it
kmahyyg commentedon Mar 27, 2019
GLIBCXX 3.4 to 3.4.25.
Same error, running on Arch Linux latest.
Error occurs only when append
--cert --cert-keyParams.kylecarbs commentedon Mar 27, 2019
Will fix.
wuzzapcom commentedon Mar 30, 2019
Have you updated docker image with this fix?
Here is what I get right now:
5hay commentedon Mar 30, 2019
No it's not released yet. You could build your own docker image though, that's what I did for now.
$
git clone https://github.com/codercom/code-server$
docker image build -t coder-selfcompiled .$ <your docker run command, just replace
codercom/code-serverwith the chosen name in the build command>The
docker buildcommand may take some time to complete, took around 20 mins on a 2core vps.Fixes #351