Hi hi
I've just downloaded dmd, and then dub, in that order onto a new Windows 7 work laptop.
I've gotten dub working in Linux numerous times, but seem to be having what is potentially a simple issue in Windows.
When I dodub init newPackageName -t vibe.d
dub successfully creates a new project.
However when I cd
into it and then dub
I keep getting an error saying
C:\Users\bob\Documents\Visual Studio 2013\Projects\webchat2>dub --verbose
Using dub registry url 'http://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\bob\AppData\Roaming\dub\packages\local-packages.json
Note: Failed to determine version of package webchat2 at .. Assuming ~master.
Refreshing local packages (refresh existing: false)...
Looking for local package map at C:\ProgramData\dub\packages\local-packages.json
Looking for local package map at C:\Users\bob\AppData\Roaming\dub\packages\local-packages.json
Version selection for dependency vibe-d (vibe-d) of webchat2 is missing.
Checking for missing dependencies.
Search for versions of vibe-d (1 package suppliers)
Nothing found for vibe-d
Root package webchat2 contains reference to invalid package vibe-d >=0.0.0
C:\Users\bob\Documents\Visual Studio 2013\Projects\webchat2>
As you can see I even tried changing the package number to just take anything, and that also doesn't work.
I have placed the dub executable and files in the C:\Users\bob\AppData\Roaming\dub
location but it isn't creating any packages there when I go to either dub
or dub upgrade
.
Any ideas?
Regards