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

x/website: tutorial -replace=old=new doesn't work in powershell #44924

Open
migberbay opened this issue Mar 10, 2021 · 4 comments
Open

x/website: tutorial -replace=old=new doesn't work in powershell #44924

migberbay opened this issue Mar 10, 2021 · 4 comments

Comments

@migberbay
Copy link

@migberbay migberbay commented Mar 10, 2021

Hi! I was chekcing the intial tutorials for making modules, and this site is using the wrong syntax in this line:

$ go mod edit -replace=example.com/greetings=../greetings

and it should be:

$ go mod edit -replace example.com/greetings=../greetings

I'm using the newest version of go at the time, 1.16

@gopherbot gopherbot added this to the Unreleased milestone Mar 10, 2021
@seankhliao
Copy link
Contributor

@seankhliao seankhliao commented Mar 10, 2021

Duplicate of #44906

Seems like a powershell issue

@seankhliao seankhliao changed the title x/website: x/website: tutorial -replace=old=new doesn't work in powershell Mar 10, 2021
@tmthrgd
Copy link
Contributor

@tmthrgd tmthrgd commented Mar 11, 2021

I think this is probably a duplicate of #43179 and an example of the still unfixed PowerShell/PowerShell#6291.

@ALTree
Copy link
Member

@ALTree ALTree commented Mar 11, 2021

I guess the question here is whether we want to change the tutorial to work around the Powershell issue, or not.

@kartikPatidar
Copy link

@kartikPatidar kartikPatidar commented Apr 4, 2021

For now we should just change the command to :
go mod edit -replace example.com/greetings=../greetings

SO that more beginners don't get stuck on this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants