dub: run task fails on new dub project
See original GitHub issueJust created a new dub project and hit Cmd+shift+P, then chose the dub: Run project task and the output in the terminal is:
Executing task: dub run --compiler=dmd -a=x86_64 -b=debug -c= <
Error processing arguments: Missing value for argument -c=.
Run 'dub help' for usage information.
The terminal process terminated with exit code: 1
Terminal will be reused by tasks, press any key to close it.
Seems like -c is expeccted from somewhere. My dub.json is:
{
"name": "dsampler",
"authors": [
"Ali Akhtarzada"
],
"dependencies": {
"kafka-d": "~>0.0.5"
},
"description": "A minimal D application.",
"copyright": "Copyright © 2018, Ali Akhtarzada",
"license": "proprietary"
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Installing the D compiler and the DUB package manager
DUB is installed in a similar way. Go to http://code.dlang.org/download and download the installer for Windows. Double-click on the downloaded file to start...
Read more >A DUB Case Study: Compiling DMD as a Library | The D Blog
You can create a new DUB project by executing the dub init command. This will start an interactive setup that guides you through...
Read more >Manage a workflow inside a project - Dubsado Help Center
This article covers changes you can make to a workflow already running inside of a project. Any changes you make to the workflow...
Read more >Repeat Process() n times in Swift 3 - xcode - Stack Overflow
The error isn't that the task is still running. It's that the task has already run and completed, and can't be started again....
Read more >English Dub Season Review: Heroines Run the Show
It is based on the song “Heroine Tarumono”, which is part of the Kokuhaku Jikko Iinkai: Ren'ai Series Vocaloid song project by HoneyWorks....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

it should only upgrade to newer stable releases if you set betaStream to false again.
Yes, Dub was sometimes correctly initialized, sometimes not. I figured out the problem was probably caused by the virtual D environments I’m using.
Got everything working by
ln -s ~/virtualenv../dmd/../dmdfrom virtualenv to/usr/binfor code-d to pick them using $PATHThank you. (edit: typo)