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

feat: add a genkit cli convenience wrapper script to run the repo-local version of genkit cli #1850 #1851

Closed
wants to merge 1 commit into from

Conversation

yesudeep
Copy link
Contributor

@yesudeep yesudeep commented Feb 5, 2025

RATIONALE:

On some systems, the npm link step in pnpm run setup fails to
execute owing to a lack of permissions and elevated privileges
are not available. Therefore, this wrapper script is a convenience
feature to allow using the repo-local version of the genkit cli
without having to symlink it into system directories.

ISSUE: #1850

CHANGELOG:

  • Add a convenience wrapper script that does not require npm linking the genkit CLI thereby avoiding permission problems faced on certain operating systems.
  • Pre-commits automatically added license header to YAML file.

Checklist (if applicable):

…al version of genkit cli #1850

RATIONALE:

On some systems, the `npm link` step in `pnpm run setup` fails to
execute owing to a lack of permissions and elevated privileges
are not available. Therefore, this wrapper script is a convenience
feature to allow using the repo-local version of the genkit cli
without having to symlink it into system directories.

ISSUE: #1850

CHANGELOG:
- [ ] Add a convenience wrapper script that does not require `npm
  link`ing the genkit CLI thereby avoiding permission problems
  faced on certain operating systems.
@yesudeep yesudeep force-pushed the yesudeep/feat/genkit-wrapper branch from 534e961 to dbeb294 Compare February 5, 2025 07:51
@tonybaroneee
Copy link
Collaborator

tonybaroneee commented Feb 5, 2025

I'd look into using nvm, or something similar to manage a node installation that is outside of /usr/local/lib where you are lacking permissions. For your machine, this issue would not be unique to the genkit library.

@tonybaroneee tonybaroneee deleted the yesudeep/feat/genkit-wrapper branch February 5, 2025 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config feature New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Tooling] Installing genkit-cli using pnpm run setup can fail because of permissions problems
2 participants