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

opam init failed #5742

Closed
HLI5KY opened this issue Nov 26, 2023 · 1 comment
Closed

opam init failed #5742

HLI5KY opened this issue Nov 26, 2023 · 1 comment

Comments

@HLI5KY
Copy link

HLI5KY commented Nov 26, 2023

If your issue concerns a package not building, please report to
https://github.com/ocaml/opam-repository/issues or to the package maintainer
unless you are confident it is an issue in the opam tool itself.

<include here the output of `opam config report`, if applicable>

I tried opam init and get ERROR below
issue1

Then I tried sudo opam init. It seemed to work well but when I tried to use any opam commands it showed below
issue2

@HLI5KY
Copy link
Author

HLI5KY commented Nov 27, 2023

It's solved but I don't know the reason. I tried to reinstall opam by
bash -c "sh <(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)"
and it showed the same problem. But when I connected WSL with VScode, everything went well.

@HLI5KY HLI5KY closed this as completed Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant