-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
nbb fails to download nbb.edn deps when babashka is not in the PATH #328
Comments
Yes, it's possible to do this via deps.clj if we decide to port it to Node.js, which is a significant undertaking Option 2 seems good anyway. PR welcome. |
Sorry for being pedantic here, in terms of minimal library requirements this would mean porting the As another option, would it be possible to package
Will have a look, thanks |
No, only |
1 similar comment
No, only |
btw, it appears that the I think, even if thanks |
Sure!
Sounds good |
version
nbb v1.2.169
platform
any
problem
nbb fails to download nbb.edn deps when nbb is not in the PATH:
repro
bb
is not in thePATH
nbb.edn
file with a single dependency:npx nbb
, nbb fails with the following message:expected behavior
The documentation does not indicate any requirement for an external program to fulfill certain operation of
nbb
(unless I've missed it 😅 ), thus the failure is unexpected.In retrospect and after looking at the code a little, it seems obvious that if nbb is to download clj "packages" from the clojure ecosystem, it will need to tap in to some existing framework to do so. I suppose this framework is maven and thus the need for
bb
to orcherstarte this?Possible solution I can think of:
bb
to be in path.The problem with requiring
bb
to be available and able to connect to the internet is thatnbb
might not work behind corporate firewalls or systems with restricted access to tooling other than node.js and npm packages.Thanks
The text was updated successfully, but these errors were encountered: