code-d and serve-d fail to load after vs update

WebFreak001 d.forum at webfreak.org
Fri Jan 25 22:19:01 UTC 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)


More information about the Digitalmars-d-learn mailing list