Comments (3)
The problem here is that the package.json file of that project contains a dependency to vibe.d and defines its own main()
. For that to work, it is currently required to add "versions": ["VibeCustomMain"]
to package.json. This is a bit unfortunate and just to support the pure static this
based initialization as in most vibe.d examples.
But the vanilla package.json
should not contain a vibe.d dependency after dub init
- did you add one manually?
But anyway, the situation with the VibeCustomMain
version needs improvement, not sure how exactly, tough...
from dub.
did you add one manually?
Yes. Sorry, I forget to mention this.
from dub.
Closing this issue, as the remaining problem is a package specific problem. Although people are highly encouraged in using vibe, dub should not provide a special solution for it. But a generalization of this problem seems to me a bit to rare, as few libraries will define it's own main().
from dub.
Related Issues (20)
- Dependency per system does not work HOT 1
- Dub might be preventing my package from being recognized HOT 4
- dub describe --data=import-paths includes non import related information
- dub describe --data=dflags outputs duplicate dflags HOT 2
- `dub init` colors are broken on cmd HOT 1
- Dub does not show verbose output for projects with preBuildCommand HOT 2
- `dub add` breaks `~>x.0` dependency specification
- Platform filters may have a surprising behavior when cross compiling using --arch
- Dub relinks project that have path-only dependencies
- object files listed in sourceFiles are ignored when building a static library
- Cannot cache build in the presence of `__FILE_FULL_PATH__` HOT 1
- project.dependencies is missing dependencies HOT 1
- Regression / AssertError in cacheArtifactPath
- {pre,post}{Build,Generate}Commands should have optional input and output parameters
- report better error message instead of : Could not resolve configuration for package demo
- Subcommand for installing binaries HOT 2
- looks like 1.37.0 release was not completed HOT 2
- Hard to understand error when compiler is not last element of specification
- Failed to download package gamut from https://code.dlang.org/packages/gamut/2.0.9.zip HOT 2
- Erased version specification for dependency, converted to "" instead of ">0.0.0" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dub.