Coder Social home page Coder Social logo

Error during go get about ponzu HOT 6 CLOSED

ponzu-cms avatar ponzu-cms commented on April 28, 2024
Error during go get

from ponzu.

Comments (6)

itwars avatar itwars commented on April 28, 2024 2

Hi,

Sorry, yes close it! It works the way you show me :)

from ponzu.

nilslice avatar nilslice commented on April 28, 2024

Hi @itwars -

That is an error indicating you need to install Go 1.8 -- the http.Pusher interface is not part of Go 1.7 or below.

Luckily, there is an easy way to get the release candidate for 1.8:

Run the following commands:

$ go get golang.org/x/build/version/go1.8rc1
$ go1.8rc1 download
# make sure it was downloaded, then: 
$ go1.8rc1 get github.com/ponzu-cms/ponzu/...

Because of Ponzu's Go 1.8 requirement, you will also need to run the Ponzu build step with go1.8rc1. In order to do that, use the gocmd option once you have the ponzu CLI installed:

$ ponzu -gocmd=go1.8rc1 build

Let me know if there are any other issues.

from ponzu.

nilslice avatar nilslice commented on April 28, 2024

@itwars - looks like go1.8rc2 was just released. My previous comment still applies, but this will get you the latest version of 1.8 (which is nice to test!)

$ go get golang.org/x/build/version/go1.8rc2
$ go1.8rc2 download
# make sure it was downloaded, then: 
$ go1.8rc2 get github.com/ponzu-cms/ponzu/...

and once you have a new project generated:

$ ponzu -gocmd=go1.8rc2 build

from ponzu.

nilslice avatar nilslice commented on April 28, 2024

Hi @itwars -

I am going to assume you were able to fix this error and close this issue. If you have any other problems, please open another issue or reach out on Twitter to @ponzu_cms.

Thanks!

from ponzu.

udayn4 avatar udayn4 commented on April 28, 2024

Hi,

I went through your video and wanted to test it out.
Go version : go version go1.9.3 windows/amd64

When I type go get github.com/ponzu-cms/ponzu/..., the screen is just static. The cursor just stays there and nothing happens.

Can you please help me out.

from ponzu.

nilslice avatar nilslice commented on April 28, 2024

@udayn4 - sorry about that. How long have you waited for the command to finish while the screen is static?

Try this command too:
go get -u -v github.com/ponzu-cms/ponzu/...

The -v will add verbose output so you should get more information about what is happening.

from ponzu.

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.