www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - DUB dependency issue

reply Andrew Edwards <edwards.ac gmail.com> writes:
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'.
Oct 03 2017
parent Andrew Edwards <edwards.ac gmail.com> writes:
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.
Oct 03 2017