www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - code-d and serve-d fail to load after vs update

reply greatsam4sure <greatsam4sure gmail.com> writes:
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)
Jan 25 2019
parent reply WebFreak001 <d.forum webfreak.org> writes:
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)
Jan 25 2019
parent greatsam4sure <greatsam4sure gmail.com> writes:
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.
Jan 26 2019