Thread overview
code-d and serve-d fail to load after vs update
Jan 25, 2019
greatsam4sure
Jan 25, 2019
WebFreak001
Jan 27, 2019
greatsam4sure
January 25, 2019
Just update vs code and since then I cannot use code-d and serve-d.

below is dmd 2.084 complains. I will appreciate any help



Installing into C:\Users\Greatsam\AppData\Roaming\code-d\bin
> git clone --recursive https://github.com/Pure-D/serve-d.git serve-d
Cloning into 'serve-d'...
> dub upgrade
Upgrading project in C:\Users\Greatsam\AppData\Roaming\code-d\bin\serve-d
> dub build --arch=x86_mscoff
Invalid source/import path: C:\Users\Greatsam\AppData\Local\dub\packages\dfmt-0.9.0\dfmt\bin
Running pre-generate commands for dfmt...
Access is denied.
Command failed with exit code 1: rdmd C:\Users\Greatsam\AppData\Local\dub\packages\dfmt-0.9.0\dfmt/dubhash.d
Failed to install serve-d (Error code 2)

January 25, 2019
On Friday, 25 January 2019 at 19:47:59 UTC, greatsam4sure wrote:
> Just update vs code and since then I cannot use code-d and serve-d.
>
> below is dmd 2.084 complains. I will appreciate any help
>
>
>
> Installing into C:\Users\Greatsam\AppData\Roaming\code-d\bin
>> git clone --recursive https://github.com/Pure-D/serve-d.git serve-d
> Cloning into 'serve-d'...
>> dub upgrade
> Upgrading project in C:\Users\Greatsam\AppData\Roaming\code-d\bin\serve-d
>> dub build --arch=x86_mscoff
> Invalid source/import path: C:\Users\Greatsam\AppData\Local\dub\packages\dfmt-0.9.0\dfmt\bin
> Running pre-generate commands for dfmt...
> Access is denied.
> Command failed with exit code 1: rdmd C:\Users\Greatsam\AppData\Local\dub\packages\dfmt-0.9.0\dfmt/dubhash.d
> Failed to install serve-d (Error code 2)

hi, can you check if you have write permissions to C:\Users\Greatsam\AppData\Local\dub\packages\dfmt-0.9.0\dfmt\bin ?

Are you using d.betaStream: true? If you set it to false again you will get precompiled binaries (though not the newest features, bugs and fixes)
January 27, 2019
On Friday, 25 January 2019 at 22:19:01 UTC, WebFreak001 wrote:
> On Friday, 25 January 2019 at 19:47:59 UTC, greatsam4sure wrote:
>> [...]
>
> hi, can you check if you have write permissions to C:\Users\Greatsam\AppData\Local\dub\packages\dfmt-0.9.0\dfmt\bin ?
>
> Are you using d.betaStream: true? If you set it to false again you will get precompiled binaries (though not the newest features, bugs and fixes)



setting d.betaStream to false finally work but how would one get the latest update.