Hi, I try to install nimlangserver, but it won't compile and always complains 
with the same error, that a file is missing.

when I compile with nim 2.0.8 (or devel@#head) it complains about 
`@sserialization@sobject_serialization.nim.c` missing
    
    
    nimble install nimlangserver
    Downloading https://github.com/nim-lang/langserver using git
     Installing nimlangserver@1.4.0
       Building nimlangserver/nimlangserver using c backend
    
/home/adrian/.nimble/pkgs2/faststreams-0.3.0-64045de53dade90c36ba5a75f51603725c5b0f30/faststreams/async_backend.nim(35,
 12) Warning: asyncdispatch backend currently fails tests - it may or may not 
work as expected [User]
    /tmp/nimble_165995/githubcom_nimlanglangserver/asyncprocmonitor.nim(4, 8) 
Warning: imported and not used: 'os' [UnusedImport]
    
    Error: cannot open 
'/home/adrian/.cache/nim/nimlangserver_r/@m..@s..@s..@shome@sadrian@s.nimble@spkgs2@sserialization-0.2.2-1dcdb29f17d0aff295e7e57edf530b1e16fb6c59@sserialization@sobject_serialization.nim.c
    
    
    Run

when I try to compile nim 2.0.2 it is slightly different, because another file 
is missing `@sjson_serialization@sreader_desc.nim.c`
    
    
    nimble install nimlangserver
    Downloading https://github.com/nim-lang/langserver using git
     Installing nimlangserver@1.4.0
       Building nimlangserver/nimlangserver using c backend
    
/home/adrian/.nimble/pkgs2/faststreams-0.3.0-64045de53dade90c36ba5a75f51603725c5b0f30/faststreams/async_backend.nim(35,
 12) Warning: asyncdispatch backend currently fails tests - it may or may not 
work as expected [User]
    /tmp/nimble_172578/githubcom_nimlanglangserver/asyncprocmonitor.nim(4, 8) 
Warning: imported and not used: 'os' [UnusedImport]
    Error: cannot open 
'/home/adrian/.cache/nim/nimlangserver_r/@m..@s..@s..@shome@sadrian@s.nimble@spkgs2@sjson_serialization-0.2.4-74e9d9c8af0431acab7f29a4eb8ddb3d5a7ec74a@sjson_serialization@sreader_desc.nim.c'
        Prompt: Build failed for 'nimlangserver@1.4.0', would you like to try 
installing 'nimlangserver@#head' (latest unstable)? [y/N]
    
    
    Run

when I answer the question here with "y", it will end up in the same problem as 
above
    
    
     Installing nimlangserver@1.5.0
       Building nimlangserver/nimlangserver using c backend
    
/home/adrian/.nimble/pkgs2/faststreams-0.3.0-64045de53dade90c36ba5a75f51603725c5b0f30/faststreams/async_backend.nim(35,
 12) Warning: asyncdispatch backend currently fails tests - it may or may not 
work as expected [User]
    
/tmp/nimble_172578/githubcom_nimlanglangserver_#head/asyncprocmonitor.nim(4, 8) 
Warning: imported and not used: 'os' [UnusedImport]
    /tmp/nimble_172578/githubcom_nimlanglangserver_#head/nimlangserver.nim(5, 
3) Warning: imported and not used: 'utils' [UnusedImport]
    /tmp/nimble_172578/githubcom_nimlanglangserver_#head/nimlangserver.nim(1, 
16) Warning: imported and not used: 'strformat' [UnusedImport]
    /tmp/nimble_172578/githubcom_nimlanglangserver_#head/nimlangserver.nim(6, 
24) Warning: imported and not used: 'strscans' [UnusedImport]
    /tmp/nimble_172578/githubcom_nimlanglangserver_#head/nimlangserver.nim(5, 
41) Warning: imported and not used: 'uri' [UnusedImport]
    /tmp/nimble_172578/githubcom_nimlanglangserver_#head/nimlangserver.nim(7, 
16) Warning: imported and not used: 'parseutils' [UnusedImport]
    /tmp/nimble_172578/githubcom_nimlanglangserver_#head/nimlangserver.nim(4, 
23) Warning: imported and not used: 'enums' [UnusedImport]
    /tmp/nimble_172578/githubcom_nimlanglangserver_#head/nimlangserver.nim(5, 
46) Warning: imported and not used: 'pathutils' [UnusedImport]
    /tmp/nimble_172578/githubcom_nimlanglangserver_#head/nimlangserver.nim(5, 
36) Warning: imported and not used: 're' [UnusedImport]
    /tmp/nimble_172578/githubcom_nimlanglangserver_#head/nimlangserver.nim(4, 
47) Warning: imported and not used: 'with' [UnusedImport]
    /tmp/nimble_172578/githubcom_nimlanglangserver_#head/nimlangserver.nim(3, 
51) Warning: imported and not used: 'sugar' [UnusedImport]
    /tmp/nimble_172578/githubcom_nimlanglangserver_#head/nimlangserver.nim(3, 
58) Warning: imported and not used: 'sequtils' [UnusedImport]
    /tmp/nimble_172578/githubcom_nimlanglangserver_#head/nimlangserver.nim(3, 
68) Warning: imported and not used: 'hashes' [UnusedImport]
    /tmp/nimble_172578/githubcom_nimlanglangserver_#head/nimlangserver.nim(3, 
76) Warning: imported and not used: 'osproc' [UnusedImport]
    Error: cannot open 
'/home/adrian/.cache/nim/nimlangserver_r/@m..@s..@s..@shome@sadrian@s.nimble@spkgs2@sjson_serialization-0.2.4-74e9d9c8af0431acab7f29a4eb8ddb3d5a7ec74a@sjson_serialization@sreader_desc.nim.c'
    
    
    Run

finally I tried to use nim 2.0.8 and installing latest nimlangserver`@`1.5.0:
    
    
    nimble install nimlangserver@1.5.0
    
    Downloading https://github.com/nim-lang/langserver using git
     Installing nimlangserver@1.5.0
       Building nimlangserver/nimlangserver using c backend
    
/home/adrian/.nimble/pkgs2/faststreams-0.3.0-64045de53dade90c36ba5a75f51603725c5b0f30/faststreams/async_backend.nim(35,
 12) Warning: asyncdispatch backend currently fails tests - it may or may not 
work as expected [User]
    
/tmp/nimble_178838/githubcom_nimlanglangserver_1.5.0/asyncprocmonitor.nim(4, 8) 
Warning: imported and not used: 'os' [UnusedImport]
    /tmp/nimble_178838/githubcom_nimlanglangserver_1.5.0/nimlangserver.nim(5, 
3) Warning: imported and not used: 'utils' [UnusedImport]
    /tmp/nimble_178838/githubcom_nimlanglangserver_1.5.0/nimlangserver.nim(1, 
16) Warning: imported and not used: 'strformat' [UnusedImport]
    /tmp/nimble_178838/githubcom_nimlanglangserver_1.5.0/nimlangserver.nim(6, 
24) Warning: imported and not used: 'strscans' [UnusedImport]
    /tmp/nimble_178838/githubcom_nimlanglangserver_1.5.0/nimlangserver.nim(5, 
41) Warning: imported and not used: 'uri' [UnusedImport]
    /tmp/nimble_178838/githubcom_nimlanglangserver_1.5.0/nimlangserver.nim(7, 
16) Warning: imported and not used: 'parseutils' [UnusedImport]
    /tmp/nimble_178838/githubcom_nimlanglangserver_1.5.0/nimlangserver.nim(4, 
23) Warning: imported and not used: 'enums' [UnusedImport]
    /tmp/nimble_178838/githubcom_nimlanglangserver_1.5.0/nimlangserver.nim(5, 
46) Warning: imported and not used: 'pathutils' [UnusedImport]
    /tmp/nimble_178838/githubcom_nimlanglangserver_1.5.0/nimlangserver.nim(5, 
36) Warning: imported and not used: 're' [UnusedImport]
    /tmp/nimble_178838/githubcom_nimlanglangserver_1.5.0/nimlangserver.nim(4, 
47) Warning: imported and not used: 'with' [UnusedImport]
    /tmp/nimble_178838/githubcom_nimlanglangserver_1.5.0/nimlangserver.nim(3, 
51) Warning: imported and not used: 'sugar' [UnusedImport]
    /tmp/nimble_178838/githubcom_nimlanglangserver_1.5.0/nimlangserver.nim(3, 
58) Warning: imported and not used: 'sequtils' [UnusedImport]
    /tmp/nimble_178838/githubcom_nimlanglangserver_1.5.0/nimlangserver.nim(3, 
68) Warning: imported and not used: 'hashes' [UnusedImport]
    /tmp/nimble_178838/githubcom_nimlanglangserver_1.5.0/nimlangserver.nim(3, 
76) Warning: imported and not used: 'osproc' [UnusedImport]
    Error: cannot open 
'/home/adrian/.cache/nim/nimlangserver_r/@m..@s..@s..@shome@sadrian@s.nimble@spkgs2@sserialization-0.2.2-1dcdb29f17d0aff295e7e57edf530b1e16fb6c59@sserialization@sobject_serialization.nim.c'
    
    
    Run

at the moment I am lost. Has anyone an idea what is wrong ?

Cheers, Adrian.

Reply via email to