1.408-vsc1.32.0 report error : TypeError: Path must be a string.
See original GitHub issuecode-server
version:
$code-server --version
1.408-vsc1.32.0
- OS Version:
CentOS 7.3
Description
update 1.32.0-310
to1.408-vsc1.32.0
,error report:
$./code-server /home/code-server/workspace -h 127.0.0.1 -p 8444 --cert /home/ssl/code/cert.crt --cert-key /home/ssl/code/cert.key --allow-http --password=Secret8866.
ERROR { TypeError: Path must be a string. Received true
at assertPath (path.js:28:11)
at Object.resolve (path.js:1168:7)
at /home/travis/build/codercom/code-server/packages/server/out/cli.js:340:50624
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 /home/travis/build/codercom/code-server/packages/server/out/cli.js:340:50624\n at <anonymous>',
[message]: 'Path must be a string. Received true' }
*** Error in `./code-server': free(): invalid pointer: 0x00007f69b98651c0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x81489)[0x7f69b951f489]
./code-server(_ZN4node5StartEiPPc+0x3d9)[0x858a89]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f69b94c03d5]
./code-server(_start+0x29)[0x81e7b9]
======= Memory map: ========
00400000-01fdf000 r-xp 00000000 fd:01 526141 /home/code-server/code-server
021df000-021e0000 r--p 01bdf000 fd:01 526141 /home/code-server/code-server
021e0000-021fa000 rw-p 01be0000 fd:01 526141 /home/code-server/code-server
021fa000-02210000 rw-p 00000000 00:00 0
03c3b000-0420c000 rw-p 00000000 00:00 0 [heap]
......
......
Steps to Reproduce
- get binary package
wget https://github.com/codercom/code-server/releases/download/1.408-vsc1.32.0/code-server1.408-vsc1.32.0-linux-x64.tar.gz
- unzip package
tar -xvzf code-server1.408-vsc1.32.0-linux-x64.tar.gz
- replace
code-server
binarycp code-server1.408-vsc1.32.0-linux-x64/code-server code-server/
- start
code-server
./code-server /home/code-server/workspace -h 127.0.0.1 -p 8444 --cert /home/ssl/code/cert.crt --cert-key /home/ssl/code/cert.key --allow-http --password=Secret8866.
- then ,it report error
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:8 (1 by maintainers)
Top Results From Across the Web
1.408-vsc1.32.0 report error : TypeError: Path must be a string.
ERROR { TypeError: Path must be a string. Received true at assertPath (path.js:28:11) at Object.resolve (path.js:1168:7) at /home/travis/build/ ...
Read more >Node.js TypeError: path must be a string or Buffer
I'm writting a command line program which calculates the total price of an order, using info from a CSV file. Data inside sample.catalog.csv:...
Read more >Path must be a string. Received undefined - node-steam-user
Stack Trace: TypeError: Path must be a string. Received undefined at assertPath (path.js:28:11) at Object.join (path.js:489:7) at userData ...
Read more >StarMirror/code-server - code-server - Kiritow Git Site
1.408-vsc1.32.0 ... Move tasks onBeforeShutdown to electron-browser Fixes #108649 e52382a0b3 findExecutable should check PATH in a case-insensitive way Fix ...
Read more >TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument ...
After saving the file getting Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Will fix.
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 replacecodercom/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.