Skip to content
New issue

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

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

Already on GitHub? # to your account

How do I min run an installed package offline? #164

Closed
el-hoshino opened this issue Mar 16, 2020 · 2 comments · Fixed by #166
Closed

How do I min run an installed package offline? #164

el-hoshino opened this issue Mar 16, 2020 · 2 comments · Fixed by #166

Comments

@el-hoshino
Copy link

Hi

I need some help, that I installed some packages via a Mintfile with $ mint bootstrap, and I'd like to run them with $ mint run package, but mint run will hit a latest version checking process that if I'm offline, I can't run my package.

I know that I can bootstrap the Mintfile with $ mint bootstrap -l and then I can run $ package directly from the terminal, but obviously I lose the package version management in the project, so I'd prefer $ mint run package over $package

So is there a way to run $ mint run package offline?

Thanks

@vknabel
Copy link
Contributor

vknabel commented Mar 20, 2020

Hi @el-hoshino!

If you explicitly provide an already installed version, it will still continue to work offline.
This is valid for the CLI param ($ mint run user/package@1.0.0) and the Mintfile.

user/package@1.0.0

Nonetheless, I created a PR #166 which will try to find local versions when not specified.

@el-hoshino
Copy link
Author

Hi @vknabel

Thanks for the PR! It seems very helpful to me ❤️

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

Successfully merging a pull request may close this issue.

2 participants