Re: DUB dependency issue

2017-10-03 Thread Andrew Edwards via Digitalmars-d-learn
On Wednesday, 4 October 2017 at 01:59:48 UTC, Andrew Edwards 
wrote:

Attempting to use iopipe but not sure what I'm doing incorrectly



Finally figured it out. For some reason, the init find the local 
dependency to load but simply adding it to the dub.json afterward 
resolves the issue.


DUB dependency issue

2017-10-03 Thread Andrew Edwards via Digitalmars-d-learn

Attempting to use iopipe but not sure what I'm doing incorrectly

I've cloned the repository in /Users/edwarac/git.repo.dir/ then 
added the path to dub:

edwarac-pc:.dub edwarac$ dub add-path /Users/edwarac/git.repo.dir
edwarac-pc:.dub edwarac$ dub list
Packages present in the system and known to dub:
  iopipe ~master: /Users/edwarac/git.repo.dir/iopipe/
  iopipe:byline ~master: /Users/edwarac/git.repo.dir/iopipe/
  iopipe:convert ~master: /Users/edwarac/git.repo.dir/iopipe/
  iopipe:unzip ~master: /Users/edwarac/git.repo.dir/iopipe/
  iopipe:zip ~master: /Users/edwarac/git.repo.dir/iopipe/

Now I'm trying to init a project with iopipe as a dependency but 
am receiving the following error:


Package recipe format (sdl/json) [json]:
Name [syosetsu]:
Description [A minimal D application.]:
Author name [edwarac]:
License [proprietary]:
Copyright string [Copyright © 2017, edwarac]:
Add dependency (leave empty to skip) []: requests
Added dependency requests ~>0.5.3
Add dependency (leave empty to skip) []: iopipe
Could not find package 'iopipe'.