Giter VIP home page Giter VIP logo

Comments (10)

molleweide avatar molleweide commented on May 24, 2024 1

go installers worked for me now.

from dorothy.

molleweide avatar molleweide commented on May 24, 2024
    ╰ go install
    go: cannot find main module, but found .git/config in /Users/hjalmarjakobsson/.local/share/dorothy
            to create a module there, run:
            go mod init

    ╭─     dorothy     molleweide      2  ↵ 1 
    ╰ goinstall
    zsh: command not found: goinstall

    ╭─     dorothy     molleweide      2  ↵ 127 
    ╰

from dorothy.

balupton avatar balupton commented on May 24, 2024

Did you press y to the later two? Did you have and go things installed prior?

from dorothy.

molleweide avatar molleweide commented on May 24, 2024

I don't think I've had any go things from previously. Only rust stuff but no go.

from dorothy.

molleweide avatar molleweide commented on May 24, 2024

Yes I pressed yes on all

from dorothy.

balupton avatar balupton commented on May 24, 2024

Can you debug this?

from dorothy.

molleweide avatar molleweide commented on May 24, 2024

Yes ofc i'll try my best

from dorothy.

balupton avatar balupton commented on May 24, 2024

With my own user config:

Installing 2 go packages...
go get: installing executables with 'go get' in module mode is deprecated.
	Use 'go install pkg@version' instead.
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.
The [go:changkun.de/x/rmtrash] utility is now installed via [go]. ✅
go get: installing executables with 'go get' in module mode is deprecated.
	Use 'go install pkg@version' instead.
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.
The [go:github.com/cloudflare/utahfs/cmd/utahfs-client] utility is now installed via [go]. ✅

Perhaps Dorothy's setup-go commands have become outdated with the latest go version.

from dorothy.

balupton avatar balupton commented on May 24, 2024
Installing 1 go packages...
changkun.de/x/rmtrash imports
        flag: package flag is not in GOROOT (/usr/local/Cellar/go/1.16.3/libexec/src/flag)
changkun.de/x/rmtrash imports
        fmt: package fmt is not in GOROOT (/usr/local/Cellar/go/1.16.3/libexec/src/fmt)
changkun.de/x/rmtrash imports
        os: package os is not in GOROOT (/usr/local/Cellar/go/1.16.3/libexec/src/os)
changkun.de/x/rmtrash imports
        os/user: package os/user is not in GOROOT (/usr/local/Cellar/go/1.16.3/libexec/src/os/user)
changkun.de/x/rmtrash imports
        path/filepath: package path/filepath is not in GOROOT (/usr/local/Cellar/go/1.16.3/libexec/src/path/filepath)
changkun.de/x/rmtrash imports
        time: package time is not in GOROOT (/usr/local/Cellar/go/1.16.3/libexec/src/time)
The [go:changkun.de/x/rmtrash] utility was unable to be installed. ❌

These things could be a XDG conflict with your environment.bash, or something else...

/Users/hjalmarjakobsson/.local/share/dorothy/commands/setup-go: line 61: goinstall: command not found

this one is my fault, fixing now

go get: installing executables with 'go get' in module mode is deprecated.
Use 'go install pkg@version' instead.
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.

I'm looking into this one now

from dorothy.

molleweide avatar molleweide commented on May 24, 2024

Yeah and i believe that there are more xdg conflicts in other language setups as well. The next one that come to my mind is the ruby installer.

from dorothy.

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.