Git Product home page Git Product logo

Comments (5)

kerma avatar kerma commented on August 23, 2024 1

Please reopen.

go get for installation will be deprecated soon: https://golang.org/doc/go-get-install-deprecation

go install github.com/lucagrulla/cw@latest will currently install 1.7.2.

Trying to force some recent release will result in:

$ go install -v github.com/lucagrulla/[email protected]

go install: github.com/lucagrulla/[email protected]: github.com/lucagrulla/[email protected]: invalid version: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v4

from cw.

Pitasi avatar Pitasi commented on August 23, 2024 1

@kerma I understand it's ideal, but it the meantime you can use go install github.com/lucagrulla/cw@master

@lucagrulla

from cw.

lucagrulla avatar lucagrulla commented on August 23, 2024

hi @alimoeeny,

Thanks for filing this bug.

I tried on bash (not zsh) and with an older version already on disk it failed (it didn't override the version).

Once I cleaned the src folder under the path I did not have any problem.
Do you mind checking if you have a previous version already in your path?

from cw.

alimoeeny avatar alimoeeny commented on August 23, 2024

hmm, thanks @lucagrulla
I tried bash,
removed my old cw,
made sure there are no other copies of cw or the repository anywhere on my file system,
removed go.mod and go.sum files from my home,
same results :|
maybe something is unusual about my setup,
But it looks like always it defaults to github.com/lucagrulla/cw v1.7.2
If you cannot reproduce it , please feel free to close this ticket,
I'll reopen if I can figure out what is causing this.

from cw.

vandr0iy avatar vandr0iy commented on August 23, 2024

I think I found the relevant issue with golang: golang/go#35732
I solved it by invoking go get -u github.com/lucagrulla/cw@master

from cw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.