serve-d break on every update of vs code

WebFreak001 d.forum at webfreak.org
Fri Nov 30 23:02:13 UTC 2018


On Friday, 30 November 2018 at 22:37:02 UTC, greatsam4sure wrote:
> On Friday, 30 November 2018 at 16:24:35 UTC, Laurent Tréguier 
> wrote:
>> On Friday, 30 November 2018 at 13:04:37 UTC, greatsam4sure 
>> wrote:
>>> vs code update every time I am connected to internet. Each 
>>> time I accept the update my code-d stops to show 
>>> autocomplete. what is the best way to solve this problem.
>>>
>>> Just updated today. These are the error report
>>>
>>>
>>>
>>> Installing into C:\Users\Greatsam\AppData\Roaming\code-d\bin
>>>> [...]
>>> Cloning into 'serve-d'...
>>>> [...]
>>> Upgrading project in 
>>> C:\Users\Greatsam\AppData\Roaming\code-d\bin\serve-d
>>>> [...]
>>> Running pre-generate commands for dfmt...
>>> Running pre-generate commands for dscanner...
>>> Performing "debug" build using dmd for x86, x86_mscoff.
>>> [...]
>>
>> If you need to keep your dmd at a version that can't compile 
>> it, there is a precompiled binary for Windows in the Github 
>> releases
>
>
> Plz I need more explanation

Are you running vscode in some kind of sandbox like a flatpak or 
something? Try running dmd --version and send the output.

To validate, try manually compiling serve-d:

git clone --recursive https://github.com/Pure-D/serve-d.git 
serve-d
cd serve-d
dub build --arch=x86_mscoff


More information about the Digitalmars-d-learn mailing list