www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - I didn't succeed in creating an empty project for a long time

reply Brian <zoujiaqing gmail.com> writes:
zoujiaqing Brian-XPS MINGW64 /d/Projects
$ dub init serializable -v
Using dub registry url 'https://code.dlang.org/'
Refreshing local packages (refresh existing: true)...
Looking for local package map at 
C:\ProgramData\dub\packages\local-packages.json
Looking for local package map at 
C:\Users\Brian\AppData\Roaming\dub\packages\local-packages.json
No package found in current working directory.
Jan 15 2018
parent reply Sueko <sdas outproduct.org> writes:
On Monday, 15 January 2018 at 11:15:41 UTC, Brian wrote:
 zoujiaqing Brian-XPS MINGW64 /d/Projects
 $ dub init serializable -v
 Using dub registry url 'https://code.dlang.org/'
 Refreshing local packages (refresh existing: true)...
 Looking for local package map at 
 C:\ProgramData\dub\packages\local-packages.json
 Looking for local package map at 
 C:\Users\Brian\AppData\Roaming\dub\packages\local-packages.json
 No package found in current working directory.
After a bit waiting the message will appear Invalid format, "$ dub init projectName -t vibe.d -v", enter either "sdl" or "json". Then you have to enter sdl or json in the cmd line, after all it works. -Cheers
Mar 08 2018
parent =?UTF-8?Q?S=c3=b6nke_Ludwig?= <sludwig+d outerproduct.org> writes:
Am 08.03.2018 um 10:15 schrieb Sueko:
 On Monday, 15 January 2018 at 11:15:41 UTC, Brian wrote:
 zoujiaqing Brian-XPS MINGW64 /d/Projects
 $ dub init serializable -v
 Using dub registry url 'https://code.dlang.org/'
 Refreshing local packages (refresh existing: true)...
 Looking for local package map at 
 C:\ProgramData\dub\packages\local-packages.json
 Looking for local package map at 
 C:\Users\Brian\AppData\Roaming\dub\packages\local-packages.json
 No package found in current working directory.
After a bit waiting the message will appear Invalid format, "$ dub init projectName -t vibe.d -v", enter either "sdl" or "json". Then you have to enter sdl or json in the cmd line, after all it works. -Cheers
I just had a similar report from a computer that I may get direct access to, so that I can try to take the opportunity and debug it there. I could never reproduce it locally so far. For reference: https://github.com/dlang/dub/issues/874
Mar 08 2018