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

CLI installation requires sudo #41

Open
rpalakkal opened this issue Nov 8, 2023 · 1 comment
Open

CLI installation requires sudo #41

rpalakkal opened this issue Nov 8, 2023 · 1 comment
Labels
cli help wanted Extra attention is needed

Comments

@rpalakkal
Copy link
Contributor

The CLI (currently on branch feat/cli) is installed via npm install -g halo2-wasm but this requires sudo access (likewise for the JS dependencies (ie. halo2-lib-js) required to run the package. Ideally one shouldn't need sudo access to install and use the CLI ...

@rpalakkal rpalakkal added the cli label Nov 8, 2023
@jonathanpwang
Copy link
Contributor

One can set their NPM config to not require sudo access: https://github.com/sindresorhus/guides/blob/main/npm-global-without-sudo.md
But it would still be desirable to avoid the npm install -g halo2-lib-js and npm install -g halo2-wasm global installs altogether.

One possible solution is to investigate other ways to make a binary out of a typescript package.

@jonathanpwang jonathanpwang added the help wanted Extra attention is needed label Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants