Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No error reported on subsequent runs when dependency version is specified as "@latest" #7

Open
riisi opened this issue Jan 12, 2018 · 2 comments
Labels

Comments

@riisi
Copy link

riisi commented Jan 12, 2018

E.g. pb [email protected]
->
xxhashjs:0.2.1Error: Unable to find version latest in cuint

In this case, package.json for xxhashjs has:

"dependencies": { "cuint": "latest" }

xxhashjs has since been updated to explicitly state the version.

However, running a second time, no errors are reported.
$ pb [email protected] [1/3] Resolving dependencies: success: Found 0 packages (0s) info: No new packages required. Try running with the --no-cacheoption. success: completed in 0.031s

@alexbrazier
Copy link
Owner

I would be happy to accept a PR for a fix, otherwise I can try to look into it in the next couple of weeks. The only issue is that sometimes this error happens because the version no longer exists, and when you are trying to download all versions, you don't want it to completely fail because 1 dependency version wasn't available.

@alexbrazier alexbrazier added the bug label Feb 1, 2018
@riisi
Copy link
Author

riisi commented Feb 10, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants