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

Doesn't work on Mac Big Sur 11.5.2 zsh shell #36

Closed
hsatopo opened this issue Sep 6, 2021 · 4 comments · Fixed by #39
Closed

Doesn't work on Mac Big Sur 11.5.2 zsh shell #36

hsatopo opened this issue Sep 6, 2021 · 4 comments · Fixed by #39
Assignees
Labels
bug Something isn't working

Comments

@hsatopo
Copy link

hsatopo commented Sep 6, 2021

Version

latest

What happened?

When I type csharprepl, there is an error message saying it's not found

@hsatopo hsatopo added the bug Something isn't working label Sep 6, 2021
@waf
Copy link
Owner

waf commented Sep 6, 2021

I think this is a known issue with .NET global tools: https://docs.microsoft.com/en-us/dotnet/core/tools/troubleshoot-usage-issues#executable-file-not-found

Can you please try adding ~/.dotnet/tools to the PATH environment variable?

@hsatopo
Copy link
Author

hsatopo commented Sep 7, 2021

@waf got it, will try it. Thanks

@hsatopo hsatopo closed this as completed Sep 7, 2021
@hsatopo hsatopo reopened this Sep 7, 2021
@hsatopo
Copy link
Author

hsatopo commented Sep 7, 2021

@waf dotnet-repl works by providing an alternative way to get the repl which is instead of
dotnet-repl, I can get to it by typing dotnet repl. But not for csharprepl though

@waf
Copy link
Owner

waf commented Sep 10, 2021

right, I think that's because its name starts with dotnet-, so it's invokable through the parent dotnet executable. If the dotnet team is able to fix the underlying issue with dotnet tools and ZSH, it will solve this issue.

I'll add a note for this in the readme so it doesn't catch others. Thanks for reporting and investigating!

waf added a commit that referenced this issue Sep 10, 2021
- Mac OS / ZSH path requirements
- Windows 10 is required

Closes #36, #37
@waf waf closed this as completed in #39 Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants