Giter Site home page Giter Site logo

Go Get Errors about buffalo HOT 7 CLOSED

gobuffalo avatar gobuffalo commented on May 19, 2024
Go Get Errors

from buffalo.

Comments (7)

markbates avatar markbates commented on May 19, 2024 2

lol! yeah, i would definitely suggest that. :)

from buffalo.

markbates avatar markbates commented on May 19, 2024

@webRat I just ran the following in a clean docker container:

# go get github.com/markbates/buffalo/...
# cd /go/src
# buffalo new foo
Buffalo version 0.4.5

--> /go/src/foo/main.go
--> /go/src/foo/Procfile
--> /go/src/foo/Procfile.development
--> /go/src/foo/.buffalo.dev.yml
--> /go/src/foo/actions/app.go
--> /go/src/foo/actions/home.go
--> /go/src/foo/actions/home_test.go
--> /go/src/foo/actions/render.go
--> /go/src/foo/grifts/routes.go
--> /go/src/foo/templates/index.html
--> /go/src/foo/templates/application.html
--> /go/src/foo/assets/js/application.js
--> /go/src/foo/assets/css/application.css
--> /go/src/foo/.gitignore
--> go get github.com/markbates/refresh/...
--> go install github.com/markbates/refresh
--> go get github.com/markbates/grift/...
--> go install github.com/markbates/grift
--> /go/src/foo/assets/js/jquery.js
--> /go/src/foo/assets/js/jquery.map
--> /go/src/foo/assets/css/bootstrap.css
--> /go/src/foo/assets/js/bootstrap.js
--> /go/src/foo/assets/js/jquery.js
--> /go/src/foo/assets/js/jquery.map
--> /go/src/foo/models/models.go
--> go get github.com/markbates/pop/...
--> go install github.com/markbates/pop/soda
--> database.yml
--> go get -t ./...
--> gofmt -w .

and everything seemed to work just fine.

from buffalo.

markbates avatar markbates commented on May 19, 2024

It feels like an environmental issue on you machine. You're missing several packages, based on your original issue.

What version of Go are you using? Maybe it's a problem with an old version of Go, but I doubt it. My gut says it's your ENV.

from buffalo.

webRat avatar webRat commented on May 19, 2024
Raff-WBM:buffalo raff$ go version
go version go1.7rc6 darwin/amd64

I guess I should go upgrade. o_O

from buffalo.

webRat avatar webRat commented on May 19, 2024

I'm so used to using go in a docker container that I haven't upgraded my local machine in forever. Let me upgrade and report back. Sorry for the run around.

from buffalo.

webRat avatar webRat commented on May 19, 2024

I upgraded and restarted my machine for good measure.

I blew away the existing github.com/markbates and github.com/pkg. I did the following:

Raff-WBM:github.com raff$ go get github.com/markbates/buffalo/...
# github.com/mattn/go-sqlite3
mattn/go-sqlite3/sqlite3-binding.c:20515:17: warning: 'OSAtomicCompareAndSwapPtrBarrier' is deprecated: first deprecated in macOS 10.12 - Use atomic_compare_exchange_strong() from <stdatomic.h> instead [-Wdeprecated-declarations]
/usr/include/libkern/OSAtomicDeprecated.h:547:6: note: 'OSAtomicCompareAndSwapPtrBarrier' has been explicitly marked deprecated here

That being said, I typed buffalo and finally got a working command prompt. So, I'll close this, since the error above is a warning. ¯_(ツ)_/¯

from buffalo.

markbates avatar markbates commented on May 19, 2024

Yay!

from buffalo.

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.