Giter Club home page Giter Club logo

Comments (10)

WebFreak001 avatar WebFreak001 commented on May 29, 2024

other dub packages with dependencies work, right? Try running dub upgrade before running dub

from workspace-d.

catb0t avatar catb0t commented on May 29, 2024

@WebFreak001

~/workspace-d(master) $ dub upgrade
Upgrading project in /home/cat/Downloads/misc/workspace-d
Root package workspace-d references unknown package dub

from workspace-d.

Vild avatar Vild commented on May 29, 2024

Your dub cache could be corrupt.
Run this and then try and run dub again
rm ~/.dub/cache/*

from workspace-d.

catb0t avatar catb0t commented on May 29, 2024

The directory didn't exist, so I created it, and tried dub upgrade, which led to the same error. Then I removed the directory, and the same result. I built dub from source on Linux x64.

from workspace-d.

Vild avatar Vild commented on May 29, 2024

Does dub fetch relationlist work?

from workspace-d.

catb0t avatar catb0t commented on May 29, 2024

Nope:

~/workspace-d(master) $ dub fetch relationlist
Getting a release version failed: No package relationlist was found matching the dependency >=0.0.0
Retry with ~master...
No package relationlist was found matching the dependency ~master

from workspace-d.

Vild avatar Vild commented on May 29, 2024

Seems like your dub installation can't access code.dlang.org. Which is really weird...
Are you running v0.9.24 or the latest git version?

from workspace-d.

WebFreak001 avatar WebFreak001 commented on May 29, 2024

Are you using a proxy? I'm not sure if its possible to let dub use a proxy on linux but on windows that doesn't work.
Also check your internet connection or try curl http://code.dlang.org/api/packages/dub/latest. It should say "0.9.24"

from workspace-d.

catb0t avatar catb0t commented on May 29, 2024

No proxies here. I don't know what's up with this.

$ curl http://code.dlang.org/api/packages/dub/latest
"0.9.24"
$ dub --version
DUB version 0.9.24+182-g7b9eba4, built on Mar 22 2016

from workspace-d.

WebFreak001 avatar WebFreak001 commented on May 29, 2024

Does it work if you run dub clean-caches && dub upgrade && dub?

from workspace-d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.