bamzi / jobrunner

Framework for performing work asynchronously, outside of the request flow
MIT License
1.04k stars 99 forks source link

Getting error on dep ensure -add #28

Closed psych01905 closed 4 years ago

psych01905 commented 4 years ago

Hi I am getting error when I am trying to the add the dependency. Error is

Fetching sources...

ensure Solve(): No versions of github.com/robfig/cron met constraints: v3.0.1: Could not introduce github.com/robfig/cron@v3.0.1, as its subpackage github.com/robfig/cron/v3 is missing. (Package is required by github.com/bamzi/jobrunner@master.) v3.0.0: Could not introduce github.com/robfig/cron@v3.0.0, as its subpackage github.com/robfig/cron/v3 is missing. (Package is required by github.com/bamzi/jobrunner@master.) v1.2.0: Could not introduce github.com/robfig/cron@v1.2.0, as its subpackage github.com/robfig/cron/v3 is missing. (Package is required by github.com/bamzi/jobrunner@master.) v1.1.0: Could not introduce github.com/robfig/cron@v1.1.0, as its subpackage github.com/robfig/cron/v3 is missing. (Package is required by github.com/bamzi/jobrunner@master.) v1.0.0: Could not introduce github.com/robfig/cron@v1.0.0, as its subpackage github.com/robfig/cron/v3 is missing. (Package is required by github.com/bamzi/jobrunner@master.) v3.0.0-rc1: Could not introduce github.com/robfig/cron@v3.0.0-rc1, as its subpackage github.com/robfig/cron/v3 is missing. (Package is required by github.com/bamzi/jobrunner@master.) master: Could not introduce github.com/robfig/cron@master, as its subpackage github.com/robfig/cron/v3 is missing. (Package is required by github.com/bamzi/jobrunner@master.) v1: Could not introduce github.com/robfig/cron@v1, as its subpackage github.com/robfig/cron/v3 is missing. (Package is required by github.com/bamzi/jobrunner@master.) v2: Could not introduce github.com/robfig/cron@v2, as its subpackage github.com/robfig/cron/v3 is missing. (Package is required by github.com/bamzi/jobrunner@master.) v3: Could not introduce github.com/robfig/cron@v3, as its subpackage github.com/robfig/cron/v3 is missing. (Package is required by github.com/bamzi/jobrunner@master.) v3-dev: Could not introduce github.com/robfig/cron@v3-dev, as its subpackage github.com/robfig/cron/v3 is missing. (Package is required by github.com/bamzi/jobrunner@master.)

bamzi commented 4 years ago

similar to #20 & #23 First -> go get -u github.com/robfig/cron so that your base lib is updated to latest and then go get github.com/robfig/cron/v3@v3.0.0 to get the latest tags